<< copygraphics Graphics I/O functions imread >>

imformats


Manage supported image formats.


Syntax


imformats ()
formats = imformats()
format = imformats(ext)

Input argument


ext

File format extension: character vector or string scalar.

Output argument


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:

Example


imformats()

See also


imwrite, imread.

History


Version Description
1.13.0 initial version

Author


Allan CORNET

<< copygraphics Graphics I/O functions imread >>