Page 1 of 1

[Solved] Using -distort to create curved text with transparent background

Posted: 2017-04-27T23:58:59-07:00
by bkstorm
I have a command like this:

Code: Select all

convert -font Tahoma -pointsize 20 label:' Around the World ' \
-virtual-pixel Background -background SkyBlue \
-distort Arc 60 arc_circle_1.png
The command will create an image:Image
The background color of the text is white, I want it to be transparent. How can I do that? Thanks.

Re: Using -distort to create curved text with transparent background

Posted: 2017-04-28T04:57:44-07:00
by snibgo
The default background is white. To make it transparent, insert "-background None" before "label:".

Re: Using -distort to create curved text with transparent background

Posted: 2017-04-30T21:10:03-07:00
by bkstorm
I tried "-background None" before, but my image viewer software display white color instead of transparent, so I thought my command is wrong.
When I used another software, it works. Thank for your help, snibgo.

Re: [Solved] Using -distort to create curved text with transparent background

Posted: 2017-04-30T22:41:10-07:00
by snibgo
Yes, some viewers show transparent as white, so it can be confusing.

When I write a command, I often use "-background pink" or blue or something, so I can clearly see what I am doing. When it works, I change it to "-background none".