php-image-resize icon indicating copy to clipboard operation
php-image-resize copied to clipboard

Is it possible to somehow avoid blurring the photo when resize?

Open saschati opened this issue 4 years ago • 2 comments
trafficstars

When I resize a photo to thumbnails below 150 pixels, with 100 quality, the photo still becomes very soapy, I can't understand what it's about (sorry in advance I don't quite understand how resize in a box).

I scaled the photo so that I could clearly see the admiration of the photo: The original is scaled to 85x85 - https://i.imgur.com/o5wIhJx.png Resize version 85x85 - https://i.imgur.com/2hJiYzc.png They are in a pile next to each other - https://i.imgur.com/EkhxWu3.png

I apologize in advance, I do not know how to competently demonstrate the problem in the photo because it is visible only in small miniatures, if you take the larger size of human eyes, nothing is noticeable, well, at least to me)

saschati avatar May 10 '21 13:05 saschati

Sorry. It seems that these two pictures are the same closely and I don't what the current issue is.

About blurring, I think the quality will be decreased when doing resizing with GD.

If you don't want to lose image quality, do you try to set $quality to be 100 when calling save method?

And it seems that you've done for setting 100 quality now and It's about the internal GD issue in PHP.

peter279k avatar May 10 '21 14:05 peter279k

@saschati could you resolve this by any means?

adityapatadia avatar Dec 19 '21 04:12 adityapatadia