Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Rearranging colours in a Koala picture
2022-06-10 12:29
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. :)
2022-06-10 12:43
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
2022-06-10 13:08
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?
2022-06-10 14:09
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
2022-06-10 16:48
6R6

Registered: Feb 2002
Posts: 244
Pico v1.3
2022-06-11 12:09
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. :)
2022-06-11 12:48
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.
2022-06-11 13:46
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!
2022-06-12 09:10
wacek

Registered: Nov 2007
Posts: 501
Pixcen allows you to control that per every char.
2022-06-12 09:36
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.
2022-06-12 10:21
Burglar

Registered: Dec 2004
Posts: 1031
this thread can be renamed to "the battle of the image convertors" :)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
CA$H/TRiAD
Oxbow/Xenon
Mason/Unicess
Guests online: 67
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.049 sec.