hello there.
just want to know differences and some example into using <-options> and <options:> with convert
for example using -label and label: or other options
i'm using windows
i think, in this case, that -label requires an existing image to be applied to. and label: can draw text into a new image, but i'm not sure about this....
tnx
differences between some options with - and :
Re: differences between some options with - and :
The Im options
-label adds a label to an images data ( not seen on the image ) and label: adds text to an image.
-label adds a label to an images data ( not seen on the image ) and label: adds text to an image.
Code: Select all
convert -background lightblue -fill blue -font Arial.ttf -pointsize 70 label:Anthony label.gif
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: differences between some options with - and :
Well not quite..
-option means a operation or setting that is to be either stored for later use or applied to images already in memory.
option: is a image file format or coder, which is used to generate/read/write images.
For writing a coder must be used with a -write operation, OR is an implied write operation such as the last argument of a "convert" command.
So -label adds some label meta-data to any image that is later read in (use -set label to add it to images in memory). While label: actually creates an image from the given 'text' argument (text to image conversion). They are very different things.
NOTE: label: is a read-only coder, you can not write to a label: image file format.
-option means a operation or setting that is to be either stored for later use or applied to images already in memory.
option: is a image file format or coder, which is used to generate/read/write images.
For writing a coder must be used with a -write operation, OR is an implied write operation such as the last argument of a "convert" command.
So -label adds some label meta-data to any image that is later read in (use -set label to add it to images in memory). While label: actually creates an image from the given 'text' argument (text to image conversion). They are very different things.
NOTE: label: is a read-only coder, you can not write to a label: image file format.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/