MG 1.1 Resized images and poor quality results

giorgino

Well-known member
Hi, I've a issue with uploading images and resize quality results.

I've set up a resize uploads in 1027x768 but the uploaded images are unusable.
What can I check to solve this?

Thanks
 

Mike

XenForo developer
Staff member
You've posted this in the XFMG forum, but it's not clear if you're referring to that specifically or XF attachments in general.

Can you give some example images? (Note that you might need to upload original images zipped or linked from elsewhere as we do some resizing here too.)
 

giorgino

Well-known member
Image quality loss happens in forum threads and gallery as well (only where the resize function is active).
For example:
I uploaded:

1. The original image using xenforo.com upload function
2. The zipped version of the original jpg
3. The resized (1024x768) version downloaded from my installation.

As you can see, the resized version are of really poor quality

P8242077.jpg P8242077.jpg
 

Attachments

Chris D

XenForo developer
Staff member
Honestly, the quality doesn't seem all that poor to me.

At least, it's mostly what I would expect when resizing a JPG image. If you zoom in you can see some of the compression artifacts.

You may wish to look at enabling Imagick processing of images (Attachment Options) to see if you can perceive any noticeable quality difference (or indeed switch back to GD if you're already using it).

Finally, you may wish to look at upgrading PHP and Imagick. I guess it's possible that some older versions may not handle the resampling quite as well as newer versions, but I'm not certain.

Other than that, this is basically what to expect when resizing JPG images.
 

giorgino

Well-known member
Thank you Chris for your support, but this quality isn't accetable for a photo community.
At least, it's mostly what I would expect when resizing a JPG image
Resizing on my mac don't include visible quality loss... :unsure:
You may wish to look at enabling Imagick processing
I'm already using imagick :(
Finally, you may wish to look at upgrading PHP and Imagick
I'm using PHP 5.6.27 and imagick 3.4.3 Do I need to upgrade?

In general, is there a way to setup the conversion quality in Imagick?
 
I did a quick forum resize test (GD). To me it looks like typical compression artifacts rather than a resize issue.

Perhaps the compression i set to a quite high level? Could that parameter be tweeked somehow?

(original)
upload_2016-10-20_20-37-41.png

(Resized & Zoomed in)
upload_2016-10-20_20-26-6.png
 
Last edited:
Top