12-16-2022, 11:45 AM
I see.. Yes, I also get pure blue if I uncheck Sample merged in the colour picker. But the issue still remains, I'd like to remove this transparency from the partially transparent pixels in the layer. I.e. I'd like all the pixels in the red/green/blue layers to be either fully transparent or fully opaque red/green/blue (i.e. RGBA 255/0/0/255, 0/255/0/255, and 0/0/255/255). Is this possible to accomplish from the script? I tried replacing gimpcolor.RGB(255, 0, 0) with gimpcolor.RGBA(255, 0, 0, 255) but that threw an error.