convert: invalid argument for option `100x100^': -thumbnail.

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
21andy

convert: invalid argument for option `100x100^': -thumbnail.

Post by 21andy »

# convert -define jpeg:size=200x200 test.jpg -thumbnail 100x100^ -gravity center -extent 100x100 test2.jpg
convert: invalid argument for option `100x100^': -thumbnail.

how can I fix it?

# convert -version
Version: ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert: invalid argument for option `100x100^': -thumbn

Post by fmw42 »

21andy wrote:# convert -define jpeg:size=200x200 test.jpg -thumbnail 100x100^ -gravity center -extent 100x100 test2.jpg
convert: invalid argument for option `100x100^': -thumbnail.

how can I fix it?

# convert -version
Version: ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

Put double quotes around it as in

-thumbnail "100x100^"
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: convert: invalid argument for option `100x100^': -thumbn

Post by el_supremo »

The error message indicates that it read the geometry argument correctly but didn't understand it. I checked the Changelog and the ^ wasn't added until version 6.3.8-2 so you'll have to upgrade your version of IM to get the functionality of ^ in geometry specs.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
21andy

Re: convert: invalid argument for option `100x100^': -thumbn

Post by 21andy »

el_supremo wrote:The error message indicates that it read the geometry argument correctly but didn't understand it. I checked the Changelog and the ^ wasn't added until version 6.3.8-2 so you'll have to upgrade your version of IM to get the functionality of ^ in geometry specs.

Pete
thanks for reply.
I can't install new version on CentOS, could you tell me how to?
viewtopic.php?f=3&t=15615
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: convert: invalid argument for option `100x100^': -thumbn

Post by el_supremo »

Sorry, I don't know how to install on CentOS - I use Windows.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert: invalid argument for option `100x100^': -thumbn

Post by fmw42 »

Post Reply