Delphi & Greyscaling Alpha Blended PNG's
Posted: Tue Jan 31, 2006 7:19 pm
Hello again,
I'm stuck with another problem. I'm trying to greyscale and then lighten using Gamma correction an alpha-blended PNG image. I then want to save it out as a greyscaled alpha-blended png.
I've tried using the LoadParam ColorModel := GFL_GREY, but the output is still coloured but lighter because of the Gammea correction.
I also tried loading it normally and grey scaling, setting it back to RGB. But the gey scaling kills the alpha channel and the output has a solid black background.
Anyone have any ideas?
Also is this group still being monitored by Pierre as there doesn't seem any replies since the end of Nov. Would I be better off e-mailing Pierre directly?
Thanks
Marc Keeley
I'm stuck with another problem. I'm trying to greyscale and then lighten using Gamma correction an alpha-blended PNG image. I then want to save it out as a greyscaled alpha-blended png.
I've tried using the LoadParam ColorModel := GFL_GREY, but the output is still coloured but lighter because of the Gammea correction.
I also tried loading it normally and grey scaling, setting it back to RGB. But the gey scaling kills the alpha channel and the output has a solid black background.
Anyone have any ideas?
Also is this group still being monitored by Pierre as there doesn't seem any replies since the end of Nov. Would I be better off e-mailing Pierre directly?
Thanks
Marc Keeley