Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing Alpha Channel?
#10
Tried with an image of mine and results with and without an alpha channels are identical.

Now, there is an alpha channel, and there are partially opaque pixels, you can have the first without the second.
So if you problem is that partially opaque pixels in the copies (layer_copy and layer_copy1) are skewing the result of the contrast/color layers overlay, you can just make these two layers totally opaque by using :

Code:
if layer.has_alpha:
    pdb.plug_in_threshold_alpha(image,layer,0)
Reply


Messages In This Thread
Removing Alpha Channel? - by david - 07-26-2022, 02:27 PM
RE: Removing Alpha Channel? - by Ofnuts - 07-26-2022, 04:11 PM
RE: Removing Alpha Channel? - by david - 07-26-2022, 06:05 PM
RE: Removing Alpha Channel? - by Ofnuts - 07-26-2022, 07:34 PM
RE: Removing Alpha Channel? - by david - 07-26-2022, 08:14 PM
RE: Removing Alpha Channel? - by PixLab - 07-27-2022, 01:58 AM
RE: Removing Alpha Channel? - by david - 07-27-2022, 07:38 AM
RE: Removing Alpha Channel? - by rich2005 - 07-27-2022, 07:51 AM
RE: Removing Alpha Channel? - by david - 07-27-2022, 11:54 AM
RE: Removing Alpha Channel? - by Ofnuts - 07-27-2022, 05:33 PM
RE: Removing Alpha Channel? - by david - 07-28-2022, 09:34 AM
RE: Removing Alpha Channel? - by Ofnuts - 07-28-2022, 12:08 PM
RE: Removing Alpha Channel? - by david - 07-28-2022, 03:56 PM

Forum Jump: