| |
Frostbyte
Registered: Aug 2003 Posts: 166 |
Rearranging colours in a Koala picture
Is there a tool to rearrange colours in a Koala picture? For example, for making sure that black in every 8x8 cell is in colram (my exact scenario). I had a quick search through the forums, but couldn't find anything. Could be that I'm using the wrong keywords though.
I could do such tool myself of course, but I'm very lazy. :) |
|
| |
Carrion
Registered: Feb 2009 Posts: 317 |
I'd say Timanthes - comes to mind first.
You can change color bit combinations but for whole pic (we discussed this with Brush/ESM recently) I don't think Timanthes can do it as per 4x8 (8x8) char, but if I read your question correctly then - yes. You can do it in Timanthes |
| |
Copyfault
Registered: Dec 2001 Posts: 466 |
@Frostbyte: personally, I just used it for some checks and maybe minor corrections here and there, but: doesn't Pixcen's Remap Colours-feature do what you need? |
| |
Burglar
Registered: Dec 2004 Posts: 1031 |
@frostbyte, png2prg 1.0 is all you need. specifically it's -bitpair-colors flag:
./png2prg -bitpair-colors 0,6,14,3 -o image.kla image.png |
| |
6R6
Registered: Feb 2002 Posts: 244 |
Pico v1.3 |
| |
Frostbyte
Registered: Aug 2003 Posts: 166 |
Thanks good people! It looks like I have a few options to try out now. For my purposes, the ultimate tool would be a macOS command line tool I can incorporate into a build toolchain, but anything that works, regardless of the OS, GUI or CLI, goes really.
@Burglar, can png2prg also manipulate koala pics, or is the input png only? If the latter, I'll need to find a koa2png converter next. :) |
| |
Burglar
Registered: Dec 2004 Posts: 1031 |
Quoting Frostbyte@Burglar, can png2prg also manipulate koala pics, or is the input png only? If the latter, I'll need to find a koa2png converter next. :) it only accepts png/gif/jpg as input. you already have a koa2png converter -> it's vice :) just make a screenshot and use as input png. |
| |
Frostbyte
Registered: Aug 2003 Posts: 166 |
Ah, of course. :D Didn't think about Vice.
Anyway, I found this online editor:
https://tomseditor.com/
It supports both koala and png, so got the image converted to png and then used your tool to arrange the colours, works nicely! I may still make my own colour arranger that reads koala files directly, for future convenience as well as an exercise to learn Go (been on my todo list for a while), however there is no rush with that now. :)
Thanks again! |
| |
wacek
Registered: Nov 2007 Posts: 501 |
Pixcen allows you to control that per every char. |
| |
Walt
Registered: May 2004 Posts: 47 |
Bonzai PicConv V4.0
You can assign all of the colors to be preferred or forced as a specific attribute.
Newest beta can be downloaded by FTP on afogh.dyndns.dk using picconv as username and password. |
| |
Burglar
Registered: Dec 2004 Posts: 1031 |
this thread can be renamed to "the battle of the image convertors" :) |