Main Content


JPEG, TIFF, PNG, and other formats


im2javaConvert image to Java image
imfinfoInformation about graphics file
imreadRead image from graphics file
imwriteWrite image to graphics file


TiffMATLAB Gateway to LibTIFF library routines

Beispiele und Gewusst wie

Importing Images

To import data into the MATLAB® workspace from a graphics file, use the imread function.

Exporting to Images

To export data from the MATLAB workspace using one of the standard graphics file formats, use the imwrite function.

Import Images, Audio, and Video Interactively

Import data interactively into MATLAB workspace.


Supported File Formats for Import and Export

Table of file formats that MATLAB can read and write, and recommended functions.