Palettized Color completely broken? #6388
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'd be interested to see a minimal reproducible example. |
Beta Was this translation helpful? Give feedback.
-
Hi. Thanks for starting to provide examples. I think it would be simpler if you created three different threads for this, each with example code and images. |
Beta Was this translation helpful? Give feedback.
-
Replacing "img.palette = img_pal" with "img.putpalette(img_pal)" has partially solved the problem. PNG, PCX, and GIF no longer needs the palette explicitly specified (the color remapping issue in the other thread remains for GIF, though). BUT, for PCX the palette is all messed up (this occurs regardless of whether the palette is specified at save). Though I'm not as concerned about this, as it was just another palettized format I used to see if the same thing would happen as with GIF. |
Beta Was this translation helpful? Give feedback.
I've created PR #6391 to fix this.