Page 1 of 1

Re: Animated Gifs - Background problem

Posted: 2008-05-09T11:53:53-07:00
by fmw42
convert picture.gif -clone 0 -coalesce -gravity South -background white -background none -splice 0x18 -annotate 0 "Label First" -swap -1,0 -mattecolor peru -frame 2x2+1+1 +delete label_picture.gif

Why do you have both -background white AND -background none. The last one is probably what is in effect and it sets the background to transparent which would look like gray in some displays.

Re: Animated Gifs - Background problem

Posted: 2008-05-26T22:47:34-07:00
by anthony
Actually -frame has two color settings. -matte is used for the base color that is used in the frame, while -bordercolor is used as the backgroudn fill within the frame. this only effects images containing transparency.

See IM Examples, Frame
http://imagemagick.org/Usage/crop/#frame

you have two options either set -compose Src or -bordercolor None, either will do the job.