Unfortunately, alpha channels are not supported by OpenCV. From the imread documentation:
Note that in the current implementation, the alpha channel, if any, is removed from the output image. For example, a 4-channel RGBA image is loaded as RGB if flags > 0 .
See this SO post for a possible work using imagemagick.
Hope this will be helpful!
mevatron
source share