newbie: red border

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: newbie: red border

Post by fmw42 »

cuongvt wrote:Hi all,

Below command first creates text on a white background with a red border
and then implodes it by 0.5.
What I not understand is that which parameter inside this command create red border?
Below is the command:
===================================
convert –size 200x70 xc:darkred -fill white –draw "roundrectangle 5,5 195,65 5,5" -fill black - pointsize 35 –draw "text 12,45 'i m p l o d e'" -implode 0.5 implode.gif
==============================
regards

It is the background image you have created with -size 200x70 xc:darkred. Then you draw a white rectangle inside that with a 5 pixel inset.
Post Reply