imformats
Manage image file format registry
Syntax
Description
imformats displays a table of information
listing all the values in the MATLAB® file format registry. This
registry determines which file formats the imfinfo, imread,
and imwrite functions support. 
formatStruct = imformats( searches
the known formats in the MATLAB file format registry for the
format associated with the file name extension specified by fmt)fmt.
If found, formatStruct is a structure containing
the characteristics and function names associated with the format.
Otherwise, formatStruct is an empty structure.
registry = imformatsregistry, containing all the
values in the MATLAB file format registry.
registry = imformats(formatStruct)formatStruct. The output structure, registry,
contains the new registry settings. Use this syntax to replace image
file format support.
Incorrect use of imformats to specify values
in the MATLAB file format registry can result in the inability
to load any image files. To return the file format registry to a working
state, use imformats with the 'factory' input.
registry = imformats('add',formatStruct)formatStruct to the file format registry.
Use this syntax to add image file format support.
registry = imformats('update',fmt,formatStruct)fmt to
have the values specified by formatStruct.
registry = imformats('factory')
Examples
Input Arguments
Output Arguments
Tips
- Changes to the format registry do not persist between MATLAB sessions. To have a format always available when you start MATLAB, add the appropriate - imformatscommand to the MATLAB startup file,- startup.m. For more information, see- startup.
Version History
Introduced before R2006a