Jump to content

Recommended Posts

Posted

Hey,

I was wondering if there is an alternative to the default Processwire ImageSizer. Although it comes in really, really handy (I have actually never used any Content Management Framework that comes with a default Resize module) I am not quite content when it comes to resizing large images.

Check this image:

http://imgur.com/KNS9VWB

You can clearly see a difference in sharpness of both images, after resizing the image comes out a bit blurry (Yes, quality is on 100).  Has anybody else encountered this? If so, is there any good alternative (in form of a Module). 

Much love to anyone that's willing to help <3

Posted

Did you try different sharpening settings? Also that's not really a issue with processwire's imagesizer class, as the actual resizing is always done by external image processing libraries like gd or since 3.0 also imagemagick.

  • Like 2
Posted

Brilliant input, can I just add the sharpening option to the array, as following:

$options = [
"upscaling" => true, 
"cropping" => false, 
"quality" => 100,
"sharpening" => "medium"
];
Posted

I can see! :)

You should read a bit about the images and our ImageSizer in the docs. What you are currently missing is, how to avoid the images caching. Add "forceNew" => true to your options array while developing. Otherwise you always will get the previously created and cached variation.

If you want to compare different options in one go, you also should read a bit about the suffix property.

:)

  • Like 2
Posted

Thank you for the response Horst.

I looked into the documentation, yet I didn't find anything concerning sharpening of images. That's why I came here to ask. I will mask this as solved. But could you please be so kind to link me the page in which the sharpening topic is covered? Thank you in advance.

Regards,

Jim

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...