Opened 5 years ago
Closed 5 years ago
#84 closed enhancement (invalid)
c64 (koala) format background color
|Reported by:||Owned by:||Thomas Bernard|
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 by , 5 years ago
comment:2 by , 5 years ago
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 by , 5 years ago
see this Merge request :
comment:4 by , 5 years ago
|Status:||new → assigned|
comment:5 by , 5 years ago
|Status:||assigned → closed|
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) ?