HighTechTalks DotNet Forums  

Saving a bitmap as a PNG without the gamma info

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Saving a bitmap as a PNG without the gamma info in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Patrick Ruzand
 
Posts: n/a

Default 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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.