Page 1 of 1

how to remove white border

Posted: 2007-07-17T01:04:31-07:00
by nuthell
hello,everyone.
I am new with ImageMagic. Recently, I have been using it in my project to add water mark. it works fine, except there is 2px white border on the left of the text_bw.png (see the picture below), how to remove the white border?

there are my commond lines.

convert -size 50x39 xc:transparent -font /usr/share/fonts/TrueType/simsun.ttf -pointsize 20 -gravity east -fill black -draw " text 0,0 'Anthony' " text_mask.png

convert xc:transparent -border 0 -gravity West /var/www/baby/img/watermark/logo2.png text_mask.png +append -trim text_bw.png //i think the problem occured here

/usr/bin/composite -dissolve 90% -gravity north text_bw.png test.jpg kkk.gif

Image

Re: how to remove white border

Posted: 2007-07-17T02:03:59-07:00
by nuthell
please. Help Me.

Re: how to remove white border

Posted: 2007-07-17T04:21:21-07:00
by nuthell
I have finished the problem.

thanks all.