mogrify doesn't detect image format
Posted: 2009-08-06T19:34:49-07:00
Hi!
From http://bugs.debian.org/531350:
Thank you!
From http://bugs.debian.org/531350:
I can confirm it in latest ImageMagick (6.5.4-9).From the mogrify manual:
"By default, the image format of `file' is determined by its magic number."
$ file 982434113.jpg
982434113.jpg: JPEG image data, JFIF standard 1.02
$ mogrify -resize "40x40" 982434113.jpg
# OK
$ mv 982434113.jpg 982434113.tmp
$ mogrify -resize "40x40" 982434113.tmp
mogrify: no encode delegate for this image format `982434113.tmp' @ constitute.c/WriteImage/1157.
Thank you!