Border, Frame, and the use of BorderColor
Posted: 2017-02-05T23:49:41-07:00
According to the IM documentation http://www.imagemagick.org/Usage/crop/#border and http://www.imagemagick.org/Usage/misc/#border the "-border" option has an intended side effect
It should change the background of the star.gif to LimeGreen however nothing happens (the background is not changed).
The following example is said to
But now it just adds a green border 10px width.
Is this new behaviour correct? Thanks!
and it definitely was working in some previous versions of IM however this is not the case now at least in 6.9.7-0 or 6.9.2-10 which I tried. The following examples from documentation are not working as documented:that "-border" creates a new image of the right size, then overlays the original source image over this new backgroun
Code: Select all
convert star.gif -bordercolor LimeGreen -border 0 star_background.gif
The following example is said to
For example, under IM this sets the transparent areas of the star image to the "-bordercolor" and completely ignores the "-background" color setting.
Code: Select all
convert star.gif -bordercolor LimeGreen -background Gold -border 10 star_border.gif
Is this new behaviour correct? Thanks!