%% Determine if File Format Exists in Registry
% Determine if the file format associated with the .bmp file extension is in the image file format registry.

formatStruct = imformats('bmp')

% formatStruct is a non-empty structure, so the BMP file format is in the registry.
% Copyright 2015 The MathWorks, Inc.