News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

ImageMagick :: annotate a picture with text

Started by Chunky C, June 26, 2004, 06:13:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chunky C

Not certain if this is the correct forum, maybe feature requests?

I have ImageMagick installed w/ CPG 1.3.0 integrated with phpBB 2.0.8 on a Win2K server.  The command line to add simple text to a pic is:

convert -font impact -fill white -pointsize 36 -gravity center -draw "text 0,0 'WWW.MYURLINFO.COM'" 1.jpg 2.jpg

Where 1.jpg is the source pic // 2.jpg is the destination pic and the -draw parameter is the command that actually writes the text on the pic, all the other options are just to make it look purty.  I tried writing the pic back to the same filename and it works also.  

Is there a way to integrate this command line into cpg 1.3.0 - hard coded?  In the Configuration "Command line options for ImageMagick?"  I'd like to see it one the command line options but I'm not certain on how to handle the source && destination filenames.  Any one with any ideas?

Thanks,

Chunk

What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em?" --Calvin

Tarique Sani

SANIsoft PHP applications for E Biz