AspAlliance.com LogoASPAlliance: Articles, reviews, and samples for .NET Developers
URL:
http://aspalliance.com/articleViewer.aspx?aId=407&pId=-1
Bitmap Compression
page
by Chris Garrett
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 18109/ 33

Bitmap Compression

 

What if you really need a crisp JPG image?  Luckily GDI+ has hidden in it's ample folds a facility to allow you to set the quality of your JPG output and (thankfully) it is a really simple thing to do.

 

low quality

/chrisg/tools/compression.aspx?comp=0

 

highest

/chrisg/tools/compression.aspx?comp=100

 

view source (c#)

/chrisg/tools/view-compression.aspx.aspx

 

download source (c#)

/chrisg/tools/download.asp?file=compression.aspx

 

download source (vb)

/chrisg/tools/download.asp?file=compression-vb.aspx


©Copyright 1998-2019 ASPAlliance.com  |  Page Processed at 2019-07-22 4:37:17 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search