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?".
grigory
Posts: 15 Joined: 2015-05-24T05:48:35-07:00
Authentication code: 6789
Post
by grigory » 2017-01-19T10:56:09-07:00
Hello guys,
I'm trying to put a tile image over the text and then add a border to the text:
Code: Select all
/usr/bin/convert -size 413x132 xc:transparent \
-font /website/font.ttf -pointsize 40 -antialias \
-gravity north -annotate 0 "TextTextText" null: \( /website/tile.gif -virtual-pixel tile \
-set option:distort:viewport 413x132 -fuzz 5% -distort SRT 0 \) \
-compose In -layers Composite -loop 0 +repage -trim -layers Optimize /website/result.gif
This code worked for me until I upgraded to ImageMagick7 (I had IM 6.7 if I remember correctly).
BUT now the resulting image is blinking.
Why so? Could you please help me?
Last edited by
grigory on 2017-01-19T14:13:11-07:00, edited 2 times in total.
GeeMack
Posts: 718 Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA
Post
by GeeMack » 2017-01-19T11:13:12-07:00
grigory wrote: ↑ 2017-01-19T10:56:09-07:00 Why so? Could you please help me?
I would first try just adding "-background none" near the beginning of your command.
grigory
Posts: 15 Joined: 2015-05-24T05:48:35-07:00
Authentication code: 6789
Post
by grigory » 2017-01-19T11:21:58-07:00
Wow! Thank you! Worked like a charm!