Opened 2 years ago

Closed 2 years ago

#84 closed enhancement (invalid)

c64 (koala) format background color

Reported by: dusan.milivojevic@… Owned by: Thomas Bernard
Priority: major Milestone: 2.6
Component: GrafX2 Version: 2.5
Keywords: Cc:


Currently program detects the most used of 16 colors and use it as a background color when saving to c64 (koala) format which is often useless. It would be great if on the save form user could select the background color manually (0-15). It could be by default be set to determined most used color for the first save or the previously selected color for the subsequent saves.

Change History (5)

comment:1 Changed 2 years ago by yrizoud@…

Out of curiosity, what is the consequence when the "wrong" color is chosen ? I mean, is it only that the file is inefficiently compressed, or does it have another effect on the C64 ?

Is it useful for someone who opens a Koala file to know which bg color it is currently using ? And to change this color later (For example if picture changes a lot, the "best" BG color may need change) ?

comment:2 Changed 2 years ago by Thomas Bernard

I have studied the Save_C64_multi() code and things are a bit more complex.
The background color is common to all 4x8 tiles that have 4 colors.
So this is not the "most used of 16 colors" which is chosen.

If there are 2 or more colors common to all tiles which have 4 colors, the lower order one is chosen.
In that case, that could be relevant to ask the user.

In the process I have noticed a few bugs, I'm fixing them.

comment:3 Changed 2 years ago by Thomas Bernard

comment:4 Changed 2 years ago by Thomas Bernard

Owner: changed from pulkomandy to Thomas Bernard
Status: newassigned

comment:5 Changed 2 years ago by Thomas Bernard

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.