imformats
Manage supported image formats.
📝Syntax
imformats ()
formats = imformats()
format = imformats(ext)
📥Input Arguments
Parameter Description
ext File format extension: character vector or string scalar.
📤Output Arguments
Parameter Description
formats structure array: supported image formats.
format structure: supported image format.
📄Description

imformats returns the list of supported image formats.

formats = imformats() returns the list of supported image formats in a structure array.

format = imformats(ext) returns the structure of the image format corresponding to the extension ext.

Each element of the structure array contains the fields:

💡Examples
imformats()
🔗See Also
imwriteimread
🕔Version History
Version Description
1.13.0 initial version
Edit this page on GitHub