2005
12-03-2006, 08:33 AM
Hello,
I use Imagemagick to create thumbnails from jpg images. The problem is that I don't know how to reduce thumbnail size.
For example, one of thumbnails (67x90 px) is 1 KB, but another thumbnail (90x68 px) - 53 KB !!!
Is there any way how to keep all thumbnails under 3-5 KB?
I use this command:
exec("convert -geometry \"".$newwidth."x".$newheight."\" \"$sourcefile\" \"$destinationfile\"");
Thank you in advance.
I use Imagemagick to create thumbnails from jpg images. The problem is that I don't know how to reduce thumbnail size.
For example, one of thumbnails (67x90 px) is 1 KB, but another thumbnail (90x68 px) - 53 KB !!!
Is there any way how to keep all thumbnails under 3-5 KB?
I use this command:
exec("convert -geometry \"".$newwidth."x".$newheight."\" \"$sourcefile\" \"$destinationfile\"");
Thank you in advance.
