Asked by:
reduce image size

Question
-
User294545519 posted
Hi,
I'm creating a Bitmap from a JPEG stored on the server, cropping it, then saving it into the same location. Before cropping the image the file size is around 3MB, however afterwards its about 14MB! Why is this, and how can I ensure the image size is reduced?
Thanks,
Curt.
Monday, November 17, 2008 10:03 AM
All replies
-
User-425639139 posted
I hope ypu are not saving it in Bit Map or other format ?
Monday, November 17, 2008 10:10 AM -
User294545519 posted
Jpeg I believe
Tuesday, November 18, 2008 10:50 AM -
User-1768463306 posted
When you save the image, you can specify a imageformat. Wich imageformat do you use?
Tuesday, November 18, 2008 10:53 AM -
User294545519 posted
I don't think ive been specifying one though. Ive just been doing:
Bmp.Save(SERVER FILE PATH/FILE NAME)
Friday, November 28, 2008 4:45 AM -
User977725702 posted
Hi!
Take a look at my Thumbnail implementation. I resize Image to the desired size and applies a custom JPEG compression filter.
http://blog.sb2.fr/post/2008/11/27/Useful-Image-Thumbnails-Generator-HttpHandler-for-ASPNET.aspx
Hope this help's
Saturday, November 29, 2008 10:00 AM -
User294545519 posted
I'm still struggling a bit with this :/
Does anyone have any good VB examples?
Monday, December 8, 2008 8:55 AM -
User-82814391 posted
Hi,
Just Take a look at this link.
http://www.catenary.com/howto/enlarge.html
Thanks,
Vinay D Sarmalkar
Monday, July 11, 2011 4:19 AM