Supported Formats¶
Note
If you just want to know if a specific extension/format is supported
you can search this page using Ctrl+F and then type the name of
the extension or format.
ImageIO reads and writes images by deligating your request to one of many backends. Example backends are pillow, ffmpeg, tifffile among others. Each backend supports its own set of formats, which is how ImageIO manages to support so many of them.
To help you navigate this format jungle, ImageIO provides various curated lists of formats depending on your use-case
All Formats¶
Below you can find an alphabetically sorted list of all extensions/file-formats that ImageIO is aware of. If an extension is listed here, it is supported. If an extension is not listed here, it may still be supported if one of the backends supports the extension/format. If you encoutner the latter, please create a new issue so that we can keep below list up to date and add support for any missing formats.
Each entry in the list below follows the following format:
extension (format_name): plugin1 plugin2 ...
where the plugins refer to imageio plugins that can handle the format. If you wish to use a specific plugin to load a format, you would use the name as specified here. For example, if you have a PNG file that you wish to open with pillow you would call:
iio.imread("image.png", format="PNG-PIL")
Format List
Note
To complete this list we are looking for each format’s full name and a link to the spec. If you come across this information, please consider sharing it by creating a new issue.
3fr (Hasselblad raw):
RAW-FIDIB (Windows Bitmap):
DIB-PILIMT (IM Tools):
IMT-PILMCIDAS (McIdas area file):
MCIDAS-PILSPIDER:
SPIDER-PILXVTHUMB (Thumbnail Image):
XVTHUMB-PILarw (Sony alpha):
RAW-FIavi (Audio Video Interleave):
FFMPEGbay (Casio raw format):
RAW-FIbmq (Re-Volt mipmap):
RAW-FIbsdf (Binary Structured Data Format):
BSDFbufr (Binary Universal Form for the Representation of meteorological data):
BUFR-PILcap (Scirra Construct):
RAW-FIcr2:
RAW-FIcrw:
RAW-FIcs1:
RAW-FIct (Computerized Tomography):
DICOMcur (Windows Cursor Icons):
CUR-PILcut (Dr. Halo):
CUT-FIdc2:
RAW-FIdcr:
RAW-FIdcx (Intel DCX):
DCX-PILdicom (DICOM file format):
itkdng:
RAW-FIdrf:
RAW-FIdsc:
RAW-FIecw (Enhanced Compression Wavelet):
GDALemf (Windows Metafile):
WMF-PILeps (Encapsulated Postscript):
EPS-PILerf:
RAW-FIexr (ILM OpenEXR):
EXR-FIfff:
RAW-FIflc (Autodesk FLC Animation):
FLI-PILfli (Autodesk FLI Animation):
FLI-PILfpx (Kodak FlashPix):
FPX-PILftc (Independence War 2: Edge Of Chaos Texture Format):
FTEX-PILfts (Flexible Image Transport System File):
fitsftu (Independence War 2: Edge Of Chaos Texture Format):
FTEX-PILfz (Flexible Image Transport System File):
fitsg3 (Raw fax format CCITT G.3):
G3-FIgbr (GIMP brush file):
GBR-PILgdcm (Grassroots DICOM):
itkgipl (UMDS GIPL):
itkgrib (gridded meteorological data):
GRIB-PILh5 (Hierarchical Data Format 5):
HDF5-PILhdf (Hierarchical Data Format 5):
HDF5-PILhdf5 (Hierarchical Data Format 5):
itkhdp (JPEG Extended Range):
JPEG-XR-FIia:
RAW-FIicns (Mac OS Icon File):
ICNS-PILiff (ILBM Interleaved Bitmap):
IFF-FIiim (IPTC/NAA):
IPTC-PILiiq:
RAW-FIim (IFUNC Image Memory):
IM-PILimg.gz:
itkipl (Image Processing Lab):
itkj2c (JPEG 2000):
J2K-FIJPEG2000-PILj2k (JPEG 2000):
J2K-FIJPEG2000-PILjfif (JPEG):
JPEG-PILjif (JPEG):
JPEG-FIjng (JPEG Network Graphics):
JNG-FIjp2 (JPEG 2000):
JP2-FIJPEG2000-PILjpc (JPEG 2000):
JPEG2000-PILjpeg (Joint Photographic Experts Group):
JPEG-FIJPEG-PILitkGDALjpf (JPEG 2000):
JPEG2000-PILjpg (Joint Photographic Experts Group):
JPEG-FIJPEG-PILitkGDALjpx (JPEG 2000):
JPEG2000-PILjxr (JPEG Extended Range):
JPEG-XR-FIk25:
RAW-FIkc2:
RAW-FIkdc:
RAW-FIkoa (C64 Koala Graphics):
KOALA-FIlbm (ILBM Interleaved Bitmap):
IFF-FIlfp (Lytro F01):
LYTRO-LFPlfr (Lytro Illum):
LYTRO-LFRmdc:
RAW-FImef:
RAW-FImgh (FreeSurfer File Format):
itkmha (ITK MetaImage):
itkmhd (ITK MetaImage Header):
itkmic (Microsoft Image Composer):
MIC-PILmkv (Matroska Multimedia Container):
FFMPEGmnc (Medical Imaging NetCDF):
itkmnc2 (Medical Imaging NetCDF 2):
itkmos (Leaf Raw Image Format):
RAW-FImov (QuickTime File Format):
FFMPEGmp4 (MPEG-4 Part 14):
FFMPEGmpeg (Moving Picture Experts Group):
FFMPEGmpg (Moving Picture Experts Group):
FFMPEGmpo (JPEG Multi-Picture Format):
MPO-PILmri (Magnetic resonance imaging):
DICOMmrw:
RAW-FImsp (Windows Paint):
MSP-PILnef:
RAW-FInhdr:
itknia:
itknii:
itknii.gz (nii.gz):
itknpz (Numpy Array):
npznrrd:
itknrw:
RAW-FIorf:
RAW-FIpbm (Pbmplus image):
PPM-PILpct (Macintosh PICT):
PICT-PILpef:
RAW-FIpfm:
PFM-FIpict (Macintosh PICT):
PICT-PILppm (Pbmplus image):
PPM-PILppm (Portable Pixelmap (ASCII)):
PPM-FIppm (Portable Pixelmap (Raw)):
PPMRAW-FIps (Ghostscript):
EPS-PILptx:
RAW-FIpxn:
RAW-FIpxr (PIXAR raster image):
PIXAR-PILqtk:
RAW-FIraf:
RAW-FIrdc:
RAW-FIrgb (Silicon Graphics Image):
SGI-PILrgba (Silicon Graphics Image):
SGI-PILrw2:
RAW-FIrwl:
RAW-FIrwz:
RAW-FIsgi (Silicon Graphics Image):
SGI-PILspe (SPE File Format):
SPEsr2:
RAW-FIsrf:
RAW-FIsrw:
RAW-FIsti:
RAW-FIstk:
tiffswf (Shockwave Flash):
SWFtarga (Truevision TGA):
TARGA-FItiff (Tagged Image File Format):
tiffTIFF-PILTIFF-FIFEIitkGDALvtk:
itkwap (Wireless Bitmap):
WBMP-FIwbm (Wireless Bitmap):
WBMP-FIwbmp (Wireless Bitmap):
WBMP-FIwdp (JPEG Extended Range):
JPEG-XR-FIwebm:
FFMPEGwebp (Google WebP):
WEBP-FIwmf (Windows Meta File):
WMF-PILwmv (Windows Media Video):
FFMPEG