Hi, maybe it isn't bug, but for me it is. I uploaded various kinds of images and realized that quality of resized images is poor. I see compression ratio is set too high. Size of resized images to 640x480 is about 50 kB, while desired quality (for me) would be about 100 kB. I couldn't find any way to affect this. I contacted my ISP which is running hosting server with GD2 library. I was told, i can be affected by myself via "imagejpeg command parameters". I don't know what is he talking about. I searched all acidfree files for this command, but with no results.

Can you tell me, if compression ratio for jpeg files can be changed?

Thanks

lakyljuk

CommentFileSizeAuthor
#1 add_imagejpeg_quality.patch1.42 KBvhmauery

Comments

vhmauery’s picture

Status: Active » Closed (fixed)
StatusFileSize
new1.42 KB

There is not really a way built in to the image toolkit stuff. But here is a patch that can supply that capability for you.

You need to apply it to includes/image.inc and then change your settings on the admin/settings page.

lakyljuk’s picture

THANKS! This is exactly what I wanted. Works great.

lakyljuk

dvessel’s picture

Is this patch available for 4.7? I did the patch manually and I'm pretty sure I got it right but the settings don't show in the admin/settings page.