Page 1 of 1

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

Posted: 2010-02-21T12:37:34-07:00
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

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

Posted: 2010-02-21T13:11:02-07:00
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^"

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

Posted: 2010-02-21T15:19:33-07:00
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

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

Posted: 2010-02-21T21:15:20-07:00
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

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

Posted: 2010-02-22T07:54:25-07:00
by el_supremo
Sorry, I don't know how to install on CentOS - I use Windows.

Pete

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

Posted: 2010-02-22T10:50:06-07:00
by fmw42