Page 1 of 1

differences between some options with - and :

Posted: 2012-11-04T06:29:16-07:00
by stifani
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 :D

Re: differences between some options with - and :

Posted: 2012-11-04T08:22:33-07:00
by Bonzo
The Im options

-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
Image

Re: differences between some options with - and :

Posted: 2012-12-13T18:08:01-07:00
by anthony
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.