This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Images

JPEG, TIFF, PNG, and other formats

Functions

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

Classes

TiffMATLAB Gateway to LibTIFF library routines

Examples and How To

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

For information on importing text files, see Import Text File Data Using Import Tool.

Concepts

Supported File Formats for Import and Export

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