My simple resize command on a jpg 640x760 is ignored.
/usr/local/bin/mogrify /home/xxxxx/public_html/test/epdata/cuttle.jpg -debug exception -format jpg -resize 600
Error code=> 0
/usr/local/bin/mogrify -version shows this:
Version: ImageMagick 6.2.8 08/09/06 Q16 http://www.imagemagick.org
I've changed the file name to force an error and the command reports the error just fine.
I've also set the file permissions to 777 on a Linux system, didn't help. The file reads just fine using php code.
Anyone have the slightest clue?
mogrify ignores command
That works. And I missed the obvious example right at the top of the mogrify page.
Here's what threw me. The doc says:
Shouldn't items 1 and 6 be switched?
1. zero or more input image filenames (required by convert, composite, montage, compare, import, and conjure).
.
.
6. one output image filename
Here's what threw me. The doc says:
The Anatomy of the Command Line
The ImageMagick command line consists of
1. one or more required input filenames.
2. zero, one, or more image settings.
3. zero, one, or more image operators.
4. zero, one, or more image sequence operators.
5. zero, one, or more image stacks.
6. zero or one output image filenames (required by convert, composite, montage, compare, import, and conjure).
Shouldn't items 1 and 6 be switched?
1. zero or more input image filenames (required by convert, composite, montage, compare, import, and conjure).
.
.
6. one output image filename
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
the order of all except the last one can be switched around and even interleaved.
It is just specifying what sort of things can appear, not their order.
For an actual example of how things are processed see...
http://www.cit.gu.edu.au/~anthony/graph ... s/#example
It is just specifying what sort of things can appear, not their order.
For an actual example of how things are processed see...
http://www.cit.gu.edu.au/~anthony/graph ... s/#example
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/