Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
dt59
Posts: 63 Joined: 2017-07-25T23:57:06-07:00
Authentication code: 1151
Post
by dt59 » 2017-08-12T17:20:43-07:00
Code: Select all
exec("magick cake1.png -fill #991918 -annotate 355x355+0+0 dave dte")
the above code will generate error simply because of the space in between dave and dte any idea on hw to deal with dese issue
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-08-12T18:06:54-07:00
Use single quotes as below, especially around your text string
Code: Select all
exec("magick cake1.png -fill '#991918' -annotate 355x355+0+0 'dave dte'")
In the future please (always) provide your IM version and platform/OS.
dt59
Posts: 63 Joined: 2017-07-25T23:57:06-07:00
Authentication code: 1151
Post
by dt59 » 2017-08-13T23:12:58-07:00
its prints the name with the single quote and dats not wat i want