Problem with ImageMagick convert and paths with frame selectors

Piotr Gliźniewicz p.glizniewicz@netpr.pl
Thu Sep 13 12:40:00 GMT 2012


Hi,
I have problems with convert when used with paths including selectors 
for frames. The ImageMagick version I'm using is  6.7.6-3 2012-04-28 Q16.

If I run these commands in bash:

convert "/cygdrive/c/test/test.gif" -thumbnail 100x100 
"/cygdrive/c/test/test.jpg"

or

convert "C:/test/test.gif" -thumbnail 100x100 "/cygdrive/c/test/test.jpg"

they work OK - thumbnails are generated for every frame.

If I add a frame selector, as described here: 
http://www.imagemagick.org/script/command-line-processing.php (Selecting 
Frames), this version works:

convert "/cygdrive/c/test/test.gif[0]" -thumbnail 100x100 
"/cygdrive/c/test/test.jpg"

but this one:

convert "C:/test/test.gif[0]" -thumbnail 100x100 "/cygdrive/c/test/test.jpg"

fails with:

convert: must specify image size `/test/test.gif' @ 
error/raw.c/ReadRAWImage/136.
convert: missing an image filename `/cygdrive/c/test/test.jpg' @ 
error/convert.c/ConvertImageCommand/3017.

Is there something I'm doing wrong or is it some problem with 
ImageMagick/Cygwin failing to parse the paths at some point? I tried 
escaping paths in single quotes or escaping the the brackets, but it 
doesn't help.

Regards,
Piotr Gliźniewicz


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list