Re: Border with an offset

Anthony Thyssen <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <20100602103106.6d59d7a6@wraith>
On Tue, 01 Jun 2010 22:27:57 +0200
[email protected] wrote:
| Hi all,
| 
| I'm having a hard time drawing a border around an image.
| The image actually /does/ have a white border (width: 100 px)
| already, but I would like IM to draw an additional small, grey line
| inside this white area. How do I go about there? I'm actually a bit
| unsure about the proper syntax.
| 
You want to draw a border in an existing border.

Two solutions

   Draw a rectangle

that may require some calculations however.

The other solution  remove the existing border, add your new one
re-add the old border

   -shave 100x100 \
   -bordercolor LightGrey -border 1x1 \
   -bordercolor white  -border 99x99



  Anthony Thyssen ( System Programmer )    <[email protected]>
 --------------------------------------------------------------------------
     That's the thing about people who think they hate computers.
     What they really hate is lousy programmers.
                        - Larry Niven and Jerry Pournelle, "Oath of Fealty"
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.