(11-05-2024, 11:54 PM)inkdolls Wrote:(11-05-2024, 11:42 AM)denzjos Wrote: Good job. Works fine on windows 10 / gimp 2.10.38.
Thanks!
By the way, if somebody gets distorted results like this, I think there's a bug in the python interpreter:
For two-bit indexed images with alpha channel, the script gets the wrong bits per pixel, so either remove the alpha channel or convert to rgb.
No a bug in python,
Looks like an indexed/rgb problem, put it RGB
it's on the code
multifill (line 119) is "RGB*, GRAY*, INDEXED*",
BUT flatten colors (line 150) is only "RGB*, GRAY*", (no indexed)
Patrice