Help needed creating Alpha PNG image
-
mickeyportilla
Help needed creating Alpha PNG image
I am using magick++/c++. I have a PNG32 image that I would like to load and create a new image from that will only contain the alpha channel as the image. The new image would ideally be saved a PNG8. Basically instead of using a PNG32 I would be using two images, a JPG for the color image and a PNG8 as the alpha. Any help appreciated, thanks!
Re: Help needed creating Alpha PNG image
Use image.channel( AlphaChannel ) to extract the alpha channel and then image.write() to write it as PNG8.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Semrush [Bot] and 2 guests