Color change / Remap
Sleuthgame opened this issue · comments
hi ! I'm not sure how this function works.
I believe it enable to remap colors after I re-organize colors in Palette. But it appears it behave strangely for my understanding.
Can you check this or explain it to me ?
I think it's working. If I load RaytracedLoRes.iff
:
I get:
It doesn't cycle like the original, but the image looks as good as it can with the default palette.
Were you expecting different or better functionality? I believe this is close to DPaint III behavior. Is it intuitive according to today's standards? Maybe not.
OK, thanks. I was expecting that, exactly what I remember of Dpaint too. But it does not work if I edit colors in Palette.
I will record a screenshot video, it will be easier to figure out what's happening.
Turns out PyDPainter only backed up the original palette when loading IFF files. Since this was a PNG file, the original palette was never backed up. I changed the code so both are backed up now, and remap works as expected now. Thanks for finding that!
Thanks for fixing that.