%% Return Alpha Channel of PNG Image
% Return the alpha channel of the sample image, peppers.png.

[X,map,alpha] = imread('peppers.png');
whos alpha

% No alpha channel is present, so alpha is empty.
% Copyright 2015 The MathWorks, Inc.