Command line order
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Which is why I started with this topic in the first tutorial page
Processing order, and how IM basically teats and handles images, or techniqally 'a ordered image sequence'
I should complete that section with Image Attributes (meta data that is attached to images, and how IM can modify this data) at some point too.
Basics is a must for anyone new to IM, not just old users.
The next section on file handling is also important, though their is a trial of
a new 'read' option which I have been slack and have not added as yet.
EG: image_file'[200x200]'
will read and immedaitely resize the incomming image, before it is added to the end of the current image sequence.
Note that the format is different to '[1]' or '[1-4]' which denotes the frame number from a multi-image file.
Hmmm I'll just update the Reading Images page... I recomend everyone takes a look to fully understand the posibilities...
http://www.cit.gu.edu.au/~anthony/graph ... iles/#read
Processing order, and how IM basically teats and handles images, or techniqally 'a ordered image sequence'
I should complete that section with Image Attributes (meta data that is attached to images, and how IM can modify this data) at some point too.
Basics is a must for anyone new to IM, not just old users.
The next section on file handling is also important, though their is a trial of
a new 'read' option which I have been slack and have not added as yet.
EG: image_file'[200x200]'
will read and immedaitely resize the incomming image, before it is added to the end of the current image sequence.
Note that the format is different to '[1]' or '[1-4]' which denotes the frame number from a multi-image file.
Hmmm I'll just update the Reading Images page... I recomend everyone takes a look to fully understand the posibilities...
http://www.cit.gu.edu.au/~anthony/graph ... iles/#read
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
The reason for the difference is that -comment is traditionnaly set BEFORE the image is read in and thus you can set it before each image is read, so as only set the comment as the image is read, and only that image.
The -set option however changes ALL the images that are in memory, including ones previously read in, Thuis to use it you must use parenthesis to read in the image, then set the command then close parenthesis to allw the image to be added to the other images already in memory.
the same thing goes for other attribute options like -page -dispose -delay -label etc etc etc
Code: Select all
convert -comment one image_one.png \
-comment two image_two.png output_image_list
Code: Select all
convert \( image_one.png set comment one \) \
\( image_two.png set comment two \) output_image_list
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/