How to check if image has an alpha channel
See the question and my original answer on StackOverflowYou can use the IWICPixelFormatInfo2::SupportsTransparency method. Note this interface may not be always supported though.
You can use the IWICPixelFormatInfo2::SupportsTransparency method. Note this interface may not be always supported though.