LegalizeAdulthood / iterated-dynamics

Iterated Dynamics is an open source fractal generator with support for many fractal types.
https://legalizeadulthood.github.io/iterated-dynamics/
GNU General Public License v3.0
24 stars 9 forks source link

Legacy GIF encoder only stores 6 bits per channel of color values #61

Open LegalizeAdulthood opened 5 months ago

LegalizeAdulthood commented 5 months ago

There is code in the GIF encoder that masks off 6 bits for each of the red, green, blue values. All 8 bits per channel should be recorded in any saved file.

LegalizeAdulthood commented 5 months ago

Well, it's storing 8 bits per channel, but the use of g_dac_box is putting 0-63 values in it and there are various contortions around the use of g_dac_box to compensate. So this change will ripple through a bunch of the colormap handling code. Deferring to 1.1 milestone as a result.