Newby question: How to awrite info over a picture using a co

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
arjfca
Posts: 1
Joined: 2013-11-02T12:49:45-07:00
Authentication code: 6789

Newby question: How to awrite info over a picture using a co

Post by arjfca » 2013-11-02T12:58:08-07:00

Hello

I just discovered your site and ImageMagick may be the answer to my quest.

I want, using VBA ( Excel VB) to write over a JPG picture, numver like 1, 2, 3 ect
Could it be done using this application? If so, any example.

My goal is to create a command line witth the string (number) to be put on a jpg file and send it to a shell comnand
I know how to create the shell command string. But nothing in the ImageMagick software

English is not my language, nor be a certified coder in VBA :) so I'm a bit loss

Any help or link appreciated

Martin :D

User avatar
fmw42
Posts: 22109
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Newby question: How to awrite info over a picture using

Post by fmw42 » 2013-11-02T14:07:07-07:00

In command line mode, is this what you want, with the number 5 at the bottom of the resulting image? You can have it written anywhere you want.

See http://www.imagemagick.org/Usage/text/#annotate


Image

convert zelda3.jpg -fill white -font Arial -pointsize 24 -gravity south -annotate +0+0 "5" zelda3_annotate5.jpg

Image

Post Reply