Thanks for posting your code. I've developed/extended a C# method for handling aspect ratio's, however I am interested in the Interpolation and smoothing your code takes advantage of.
After implementing the following lines from your code:
I dont see a difference in image quality for JPG and PNG images. Though simply choosing PNG output type produces notably better image quality (and a larger file size).
My question to you is if you are seeing a definite change in quality when resizing with image Interpolation and Smoothing?
Know24
Member
2 Points
1 Post
Re: Resize Images on upload
Jan 07, 2008 01:17 PM|LINK
Hi smcoxon ,
Thanks for posting your code. I've developed/extended a C# method for handling aspect ratio's, however I am interested in the Interpolation and smoothing your code takes advantage of.
After implementing the following lines from your code:
newGraphic.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
newGraphic.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
I dont see a difference in image quality for JPG and PNG images. Though simply choosing PNG output type produces notably better image quality (and a larger file size).
My question to you is if you are seeing a definite change in quality when resizing with image Interpolation and Smoothing?
ASP.NET Image Antialias