Improving Imagecache JPG quality

pairodimes's picture

I really don't like posting support questions here in the groups section, but you guys are awesome and I wanted to ask you first.

I am having consistent issues with Image Quality from thumbnail images generated by Imagecache.

I use a CCK Image field to upload the image - then I run image cache on it to create the teaser and full view.

The quality for the large image is usually fine - but the thumbnail is really not up to par.

Is there a way to control that - using PHP settings for GD library?

I don't really have access to root on all my sites, but have you ever used ImageMagic Tool kit? Does this help?

Here is one of many examples that has the poor quality Jpeg on thumbnails.

http://www.facetofacetour.com/news

(I am attaching a screenshot of my imagecache settings for this Square Thumbnail)

Any thoughts would be awesome.

Thanks PDXers

AttachmentSize
Picture 24.png79.55 KB
Login to post comments

try imagemagick?

drewish's picture
drewish - Tue, 2008-06-17 20:59

if it's installed on your server i'd suggest giving imagemagick a try.


Image Advanced

christefano's picture
christefano - Wed, 2008-06-18 02:47

Even though you're using Imagecache, you can get better images by installing the Image Advanced module (which comes with the Image module).


Looks like thats an Image Magic Addition huh

pairodimes's picture
pairodimes - Wed, 2008-06-18 18:50

Looks like thats an Image Magic Addition as well - the problem is Image Magic has to be installed by shell to be compiled and I dont have access to shell very often when working for clients on shared hosting services, but thanks for the insight.

I kinda figured it would take Image Magick to improve the quality, I just wish it was something easier that I have access to.


By default Drupal resamples

matt westgate's picture
matt westgate - Wed, 2008-06-18 19:35

By default Drupal resamples uploaded jpgs to 75% of their original quality. This could very well be what your running into. Try tweaking the settings here: example.com/admin/settings/image-toolkit


I cant believe how many

pairodimes's picture
pairodimes - Thu, 2008-06-19 02:34

I cant believe how many times I have seen that link and it never registered to me - thanks for the extra set of eyes - I am pretty sure this is exactly what I was looking for.

Thanks.


I ended up changing that

heartsutra's picture
heartsutra - Thu, 2009-01-15 02:29

I ended up changing that setting in two places -- not sure what the difference is:

  • /admin/settings/image-toolkit
  • /admin/settings/imageapi/config

This is a very useful

CHEETAH - Tue, 2009-10-13 18:25

This is a very useful suggestion..
there seems to be 3 separate 'settings' forms for this particular setting..
one for Imagemagick and it seems that there are two for GD2 Imagetoolkit


What is the difference

mrfelton's picture
mrfelton - Mon, 2009-10-26 09:32

What is the difference between the two settings:

/admin/settings/imageapi/config
/admin/settings/image-toolkit


The first one is for

grendzy's picture
grendzy - Tue, 2009-11-03 05:32

The first one is for imageapi. Primarily, this means imagecache presets.

The second one is for core's image.inc. This is used for resizing profile pictures in core, and some contrib modules (though I can't think of any offhand).


By default Drupal resamples

matt westgate's picture
matt westgate - Wed, 2008-06-18 19:35

By default Drupal resamples uploaded jpgs to 75% of their original quality. This could very well be what your running into. Try tweaking the settings here: example.com/admin/settings/image-toolkit


I actually asked a related

mrfelton's picture
mrfelton - Tue, 2009-11-03 15:02

I actually asked a related question over at groups.drupal.org/image . But, since this post clearly has more visibility, and it is on a very similar topic I thought I'd spam you all with a link to it! Sorry. If anybody can answer my second question on that post relating to image quality, I would greatly appreciate it (my first question has been answered on this thread already).


no eye catching change

shima's picture
shima - Sat, 2009-11-21 11:14

hi every body
in this pages:
/admin/settings/imageapi/config
/admin/settings/image-toolkit
i increased value to 100% but there is no eye catching change :(
outside of images are not soft
i just use view and image cache to display some images as gallery
is there another way to fix it?


Quality problem

averyprog - Fri, 2009-12-11 01:26

I was having the same problem. Changing all 3 of these setting fixed it. Perhaps having all of these settings changing the same things, it could be taking 75% of 75... or 56%?

I had to flush each of the image presets in the imagecache UI before it made a difference.