Page 1 of 1

How to add transparency

Posted: 2015-03-03T00:01:37-07:00
by anshupitlia
I have to create an image, which is an overlay texture made up of a white image with some transparency to give it the appearance of a rubber stamp. For reference see the image "stamp_overlay.png" in the video http://railscasts.com/episodes/374-image-manipulation .

This is what i did:

Code: Select all

convert -size 70x70 canvas:white stamp_overlay1.png
and then

Code: Select all

convert stamp_overlay1.png -transparent white stamp_overlay1.png
But how do I give a rubber stamp effect?


I am pretty much new to ImageMagick. Any help is highly solicited. Thanks

Re: How to add transparency

Posted: 2015-03-03T00:12:52-07:00
by snibgo
As you see in the video, convert needs an input and an output. Your second command has no output.

Re: How to add transparency

Posted: 2016-02-10T12:18:12-07:00
by atariZen
That's a useful video, but it's incomplete because the instructor does not say how to create the stamp_overlay1.png. That file came out of nowhere. Anyone else encountering this thread will want to see this thread:

viewtopic.php?f=1&t=20080

That includes how to make ImageMagick do the work to derive the rubber stamp effect.