Hi all,
i encountered a weird problem -
when resizing images with ImageMagick from within PHP,
it converts it to a different size than entered.
Here´s the code:
system("convert \"".$userfile."\" -resize 400x \"".realpath(".")."/../Images/upload/Illustrations/".$NewName."\"",$error);
system("convert \"".$userfile."\" -resize 180x \"".realpath(".")."/../Images/upload/Illustrations/thumbs/".$NewName."\"", $error);
First conversion (to 400x) works fine, second converts too, but to 148 pixels in width.
anybody encountered sth. similar or can give me a hint in the right direction ?
Thx in advance !
"-resize 180x" resizes the image to 148x.... any clues ?
Re: "-resize 180x" resizes the image to 148x.... any clues ?
fook ! forget it. had old code on test-site, stating 148x.
sorry =)
*lookin into cvs now...*
sorry =)
*lookin into cvs now...*