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
Delphi & Greyscaling Alpha Blended PNG's
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44920
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Delphi & Greyscaling Alpha Blended PNG's
ColorModel is used for RAW loadingmkeeley wrote: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.
Sorry i was very busy with next release of xnview...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?Yes, converting in greyscale delete alpha channel.
Your original file is in 32bits?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?
Pierre.
-
- Posts: 9
- Joined: Sun Jan 29, 2006 7:09 pm
-
- Author of XnView
- Posts: 44920
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France