Convert function does not resize image
Posted: 2009-09-13T02:51:41-07:00
When I try to resize image
# convert ./files/property/source/191.jpg -resize 140x105> -quality 95 -antialias ./files/property/image/0/191.jpg
It shows me an error:
convert: unable to open image `95': No such file or directory @ magick/blob.c/OpenBlob/2418.
But the same function works with other images, so it does not work for some images but they are normal in browser, image viewers, photoshop, etc.
# identify ./files/property/source/191.jpg
./files/property/source/191.jpg JPEG 3264x2448 3264x2448+0+0 8-bit DirectClass 2.5mb 0.610u 0:02
# convert -version
Version: ImageMagick 6.4.5 2008-11-13 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
and the same problem with the Windows imagemagick
Version: ImageMagick 6.5.4-10 2009-08-08 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
# convert ./files/property/source/191.jpg -resize 140x105> -quality 95 -antialias ./files/property/image/0/191.jpg
It shows me an error:
convert: unable to open image `95': No such file or directory @ magick/blob.c/OpenBlob/2418.
But the same function works with other images, so it does not work for some images but they are normal in browser, image viewers, photoshop, etc.
# identify ./files/property/source/191.jpg
./files/property/source/191.jpg JPEG 3264x2448 3264x2448+0+0 8-bit DirectClass 2.5mb 0.610u 0:02
# convert -version
Version: ImageMagick 6.4.5 2008-11-13 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
and the same problem with the Windows imagemagick
Version: ImageMagick 6.5.4-10 2009-08-08 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC