Page 1 of 1

convert: Negative or zero image size

Posted: 2006-09-11T02:31:12-07:00
by rukka74
Hi all,

first my appologies, I am brand new to imageMagick so I might
- ask a stupid question
- do not provide all required info

I am running ImageMagick 6.2.9 on my Synology DS-101j, the purpose is to use it together with "Gallery 2"

Gallery 2 uses the following command to test ImageMagick
convert -size 200x200 -geometry 200x200 /volume1/web/gallery/modules/imagemagick/data/test.gif /volume1/web/gallery/eh4587_data/tmp/imgk_LL39wp

Since Gallery 2 reports an error when doing so, I ran the above command directly from the command prompt.
The resulting error is convert: Negative or zero image size `/volume1/web/gallery/modules/imagemagick/data/test.gif'.

What does that mean, what is the reason?

Thanks for help
Chris

Posted: 2006-09-11T19:04:18-07:00
by anthony
Put -geometry AFTER reading the image!!
or better still use -resize.

-geomtry is a special option only present for backward compatibility and alpha composition use. For details see...
http://www.cit.gu.edu.au/~anthony/graph ... ics/#notes