Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Image quality after crop

Vote:
 

Hi guys i've implementet image cropping as per:
http://world.episerver.com/blogs/Mark-van-Dijk/Dates/2014/11/extending-the-imagedescriptor-attribute/

But clients are saying that images are loosing quality after resize and crop. I found that this part of the code is doing croping 

ImageService.RenderImage(numArray, 
                imgOperations, 
                mimeType, 1f, 50);

and i tried changing 50 to 100 (parameter that controls image quality) but no luck.

Also when client is croping images in image editor trough edit window they say quality is ok but they whant that proces to be automatic.

Any ideas how to fix this ?

#152586
Aug 25, 2016 15:28
Vote:
 

For cheap solution, use image resizer.NET component. This has support for everything you ever want to do with an image and more. There are nuget package for both the component and the small fixes you need to do to enable episerver to use it. Works great :)

#152663
Aug 27, 2016 12:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.