I’m searching the forums for a way to increase the quality of the thumbnail generated, no luck yet but found your post.
WordPress does not generate thumbnails. It’s PHP modules like ImageMagick and GD libraries that do this.
Is there a way to edit the code to make the GD-created thumbnails higher quality? They’re really subpar compared to imagemagick
My suggestion would be to check that you have the most recent GD version.
I’ve got 2.0.28. Here is an example of what I’m talking about.
http://dark7.org/journal
Is there anyway to set the compression level?
Here’s an example of the same picture, resized with the method/utils that MT uses…
http://www.dark7.org/blog/archives/000052.html
The thumbnail not only looks a lot better, but it’s even 4kb smaller.
Change the line in the file admin-functions.php
from :
@imagecopyresized ($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
to
@imagecopyresampled ($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
“imagecopyresampled” does a LOT better job than ” imagecopyresized “
Hope this works + helps!
I was also having problems with thumbnail quality and didn’t like the switch from MT to wordpress for that reason. Maybe this can get in a new update.
–Kevin
THAT is exactly what I was looking for. Thank you so much Kevin. Now the thumbnail looks great, and is also 4kb smaller than the resized one.
Kevin,
Could you please log that in http://mosquito.ww.wp.xz.cn ? Thanks!
Sure thing, already logged it.
What are the chances of making this fix available as a plugin?