(07-28-2022, 09:34 AM)david Wrote: @Ofnuts,
Thanks for the reply. I have now fixed the problem by pasting the image into a new RGB layer. However, it does not explain what I detailed in #3 of this thread!
Running that code and then continuing with the subsequent steps (duplicate, pixelise, invert, etc.) produces different results with my test images. My test image with alpha channel was deliberately extreme in order to show differences.
Whilst this is no longer relevant for me, an explanation may help others in the future.
I greatly appreciate the help you provide - may you long continue!
david.
Did you try to fix as I indicated, which could fix the root cause, instead of just fixing the symptom?