Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing Alpha Channel?
#7
@PixLab,

All credit for using pixelate to average the colour of an image must go to Krikor. He came up with the idea and Tin Tran programmed it into a plug-in.

I decided that I could create a plug-in with a little more flexibility by adding a desaturated layer of the original image in overlay mode (initially set at 50% opacity) which allows subsequent adjustment of contrast. This works quite well as a one-click way of removing a colour cast.

The next step was to make it work for images with an alpha channel (and ideally re-instate the alpha channel on completion), because transparency "dilutes" the effect of the colour cast reduction. This was where my problems started!

You say that you are not a programmer - I suspect you have more programming knowledge than I do. My only programming experience was some 40 years ago, in assembly language on 8 and 16 bit processors, which was simple and logical!

I attach the plug-in which works OK for images without alpha channel in case it is of interest to you.


.zip   col-cast-reduction.zip (Size: 1.27 KB / Downloads: 97)
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: