miserable
miserable

Reputation: 727

ImageMagic | JMagick | Transparent Image

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

Answers (1)

Mark Setchell
Mark Setchell

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

Related Questions