Hi there, I have use the system.drawing to upload and resize an image that created using PHotoshop. When i display the resized thumbnail, the color or pixel quality is dropped compare with the original image. I have add in the best quality using the code
as below :
kumiko83
0 Points
41 Posts
Thumbnail image color or pixel quality drop
Aug 06, 2012 05:23 AM|LINK
Hi there, I have use the system.drawing to upload and resize an image that created using PHotoshop. When i display the resized thumbnail, the color or pixel quality is dropped compare with the original image. I have add in the best quality using the code as below :
thumbnailGraph.CompositingQuality = CompositingQuality.HighQuality;
thumbnailGraph.SmoothingMode = SmoothingMode.HighQuality;
thumbnailGraph.InterpolationMode = InterpolationMode.HighQualityBicubic;
But, it seem dont have any changes.
Do anyone can give me some ideas? Hope to hear from you all soon. Thank you in advanced.
web_web
Member
64 Points
14 Posts
Re: Thumbnail image color or pixel quality drop
Aug 06, 2012 08:51 AM|LINK
How do you use to resize the image, did you use bitmap object?
See below quick example:
http://www.webkeet.com/webtutorials/tabid/78/id/2/how-to-resize-image-in-aspnet-csharp.aspx