Determine transparent pixels and generate alpha channel
Posted: 2010-11-16T12:46:36-07:00
Is there a command line sequence that let me figure out if an image has fully transparent pixels?
And is it possible to generate an alpha channel for this image where all fully transparent pixels are black and all solid pixels are white?
It should be possible that semi transparent pixels should get gray in the alpha channel. The more a pixel is transparent in the image the darker the gray level for the representing pixel in the alpha channel should be.
And is it possible to generate an alpha channel for this image where all fully transparent pixels are black and all solid pixels are white?
It should be possible that semi transparent pixels should get gray in the alpha channel. The more a pixel is transparent in the image the darker the gray level for the representing pixel in the alpha channel should be.