Reputation: 727
Is there a way in Jmagick to make a png image transparent?
Input: A PNG image
Output: A transparent PNG image
I want the background of an image to be transparent.
Upvotes: 0
Views: 122
Reputation: 207355
Your question is quite unclear, but if you mean you want to ensure that a PNG image is saved with an alpha/transparency layer, then all you need to do is prefix the output filename with PNG32:
. In the Terminal, that looks like this:
magick input.png PNG32:output.png
If you mean something else, please click edit
under your question and clarify.
Upvotes: 0