# 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
convert: invalid argument for option `100x100^': -thumbnail.
- 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
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^"
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: convert: invalid argument for option `100x100^': -thumbn
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
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.
See my message in this topic for a link to a zip of all the files.
Re: convert: invalid argument for option `100x100^': -thumbn
thanks for reply.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
I can't install new version on CentOS, could you tell me how to?
viewtopic.php?f=3&t=15615
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: convert: invalid argument for option `100x100^': -thumbn
Sorry, I don't know how to install on CentOS - I use Windows.
Pete
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.
See my message in this topic for a link to a zip of all the files.