MATLAB: Is it possible to save a 32bit BMP image (with alpha)

32-bitalphabmpsave

Is it possible to save a 32bit BMP image. i.e. image size (imheight x imwidth x 4) where the 4.th channel consist of alpha values?

Best Answer

imwrite does not support alpha in BMP. See http://www.mathworks.com/matlabcentral/answers/6335-writing-32-bit-images for information on what can be used.