Saving a bitmap as a PNG without the gamma info -
05-29-2007
, 02:23 PM
Hello,
I have written a custom web control that dynamically generates bitmaps
in the response stream, using the Image.Save() method.
When generating a PNG image, I am facing the well-known issue of the
bad PNG gamma correction support in the browsers.
So, I was wondering if there was a way to specify to the ImageCodecInfo
used to save a bitmap to NOT save the png gamma chunck (for example
by means of an EncoderParameter ?) ?
Thanks a lot,
--
Patrick |