4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: jaleelb on October 07, 2002, 06:53:39 AM
-
I can't seem to get Imagemagick 5.4.7 to create antialiased thumbnails.
In the image_utils.php file I notice this:
function resize_image_im($src, $dest, $quality, $width, $height, $image_info) {
global $convert_options;
$command = $convert_options['convert_path']." -quality ".$quality." -antialias -sample $width"."x"."$height \"$src\" \"$dest\"";
system($command);
return (file_exists($dest)) ? 1 : 0;
It would seem that the option for antialiasing is on, and based on the sample width and height of the original file. Yet, Autothumbnailer & Imagemagick produces very ugly aliased files. :? Can someone see what needs changing in the code to fix this, or is it a problem with Imagemagick?
http://zip.to.playmouse/
-
hi jaleelb,
exchange "-sample" with "-geometry".
this will solve your problem.
the option "-sample" is not the best command to scale the picture.
-
:D I've been trying to figure this out for the longest time (and after 1100 pictures posted) :roll:. Thank you so much!!