Re: Image quality: ImageFormat.Jpeg

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Check out the GDI+ FAQ.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





nvx wrote:
Hi,
is there a way to set the output quality of a saved JPEG graphics? I
need to save some graphs (using Bitmap.Save()) into files and would
like to have more than one file format available. I know PNG is
probably the best format for a raster line graphics, but some people
prefer JPEG or BMP to PNG. I compared two outputs (PNG and JPEG) and
must say the quality of JPEG should be better. It seems like the
"quality value" is set to cca 75/100.

When I save something to a JPEG from, say, GIMP, there is a slider for
setting the quality of the resulting picture. Is there some similar
option for ImageFormat.Jpeg in .NET 2.0?

Thanks for any help...

With regards
nvx

.



Relevant Pages