convert -thumbnail 100x100^

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
ambipur

convert -thumbnail 100x100^

Post by ambipur »

Hi!

I have a problem with the Imagemagick convert program. I have installed latest Imagemagick on Debian Lenny.

I have tried the following command:

deRuyter:/home/www/test# convert Ajtony_2010_144.jpg -thumbnail 100x100^ thumbnail.jpg
convert: invalid argument for option `100x100^': -thumbnail.

If I remove the ^ operator, executing the following command

deRuyter:/home/www/test# convert Ajtony_2010_144.jpg -thumbnail 100x100 thumbnail.jpg

the thumbnail picture is generated. The original picture is 1632 x 1232.

As a documentation, I have used the following: http://www.imagemagick.org/Usage/thumbnails/#creation

Has anybody any idea about why the ^ operator generates an error message instead of the thumbnail? Thanks a lot!

Ambrus Olah
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert -thumbnail 100x100^

Post by magick »

You most likely have an older version of ImageMagick installed on your system that does not support the ^ geometry modifier. We tried the command with the latest release, 6.6.5-7 and it worked without complaint.
ambipur

Re: convert -thumbnail 100x100^

Post by ambipur »

Hi magick!

Thank you very much supporting me!

On the page http://packages.debian.org/lenny/imagemagick I have found that the Debian repo comes with Imagemagick 6.3.7.9

The Ubuntu repo (http://packages.ubuntu.com/maverick/i38 ... k/download) comes with Imagemagick 6.6.2.6
I don't know if it is possible to install the Ubuntu .deb package under Debian but I suppose it should be possible. But still don't know if that version supports the ^ operator.

On the page ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ I have found ImageMagick-6.6.5-6.7z, ImageMagick-6.6.5-6.tar.bz2 and ImageMagick-6.6.5-6.tar.gz I don't know how to install these formats. Can you help me?

Ambrus Olah
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -thumbnail 100x100^

Post by fmw42 »

see http://www.imagemagick.org/script/comma ... p#geometry

Its was new at 6.3.8.2

Installation instructions are at http://www.imagemagick.org/download/www ... .html#unix

(I am on a Mac, so you might need further help from a Linux user)
ambipur

Re: convert -thumbnail 100x100^

Post by ambipur »

Hi!

Thanks a lot because of your help!

I have downloaded ImageMagick-6.6.5-6.tar.bz2. Unpacking and configuring OK, but the command "make" fails with the error message: bash: make: command not found . Where should it be, or shall I install some packagees to have it on my system?

Ambrus Olah
ambipur

Re: convert -thumbnail 100x100^

Post by ambipur »

Hi!

I succeded to install make. Running the command make gives another error message: make: *** No targets specified and no makefile found. Stop.
Now what to do?

Ambrus Olah
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -thumbnail 100x100^

Post by fmw42 »

did you cd to the directory that was created by the downloaded and decompressed file?

did you then run ./configure
and check for any error messages?

look in the downloaded folder at the file config.log and see if there are any error messages.

Sorry that is the best I can suggest. I am not a Linux guru.
ambipur

Re: convert -thumbnail 100x100^

Post by ambipur »

Hi!

I have got some errors after compiling than testing:

make check-am
make[1]: Entering directory `/root/ImageMagick-6.6.5-6'
make tests/validate wand/drawtest wand/wandtest
make[2]: Entering directory `/root/ImageMagick-6.6.5-6'
CC tests/tests_validate-validate.o
CCLD tests/validate
CC wand/drawtest.o
CCLD wand/drawtest
CC wand/wandtest.o
CCLD wand/wandtest
make[2]: Leaving directory `/root/ImageMagick-6.6.5-6'
make check-TESTS check-local
make[2]: Entering directory `/root/ImageMagick-6.6.5-6'
make[3]: Entering directory `/root/ImageMagick-6.6.5-6'
PASS: tests/validate-compare.sh
PASS: tests/validate-composite.sh
PASS: tests/validate-convert.sh
PASS: tests/validate-identify.sh
PASS: tests/validate-import.sh
PASS: tests/validate-montage.sh
PASS: tests/validate-pipe.sh
PASS: tests/validate-stream.sh
PASS: tests/validate-formats-in-memory.sh
PASS: tests/validate-formats-on-disk.sh
PASS: wand/drawtest.sh
FAIL: wand/wandtest.sh
===========================================
1 of 12 tests failed
See ./test-suite.log
Please report to http://www.imagemagick.org
===========================================
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory `/root/ImageMagick-6.6.5-6'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/root/ImageMagick-6.6.5-6'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/ImageMagick-6.6.5-6'
make: *** [check] Error 2

Any opinion?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert -thumbnail 100x100^

Post by anthony »

Unfortunatally don't have instructions on how to actually create a DEB package from IM examples.
At this time IM can generate RPMs (or you can download them) and you can convert RPM to DEB
but such a package was not built on your specific Linux, it would probably have library miss-match problems.

Does anyone have any easy to follow information on generating a DEB package?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply