ImageIO can process various of image formats, however, there are also some image formats it can not process. In this tutorial, we will show a full list of image formats that imageio library can process.
You can get the list by:
import imageio imageio.help()
The full list is below:
TIFF – TIFF format [.tif, .tiff, .stk, .lsm]
BMP-PIL – Windows Bitmap [.bmp]
BUFR-PIL – BUFR [.bufr]
CUR-PIL – Windows Cursor [.cur]
DCX-PIL – Intel DCX [.dcx]
DDS-PIL – DirectDraw Surface [.dds]
DIB-PIL – Windows Bitmap []
EPS-PIL – Encapsulated Postscript [.ps, .eps]
FITS-PIL – FITS [.fit, .fits]
FLI-PIL – Autodesk FLI/FLC Animation [.fli, .flc]
FPX-PIL – FlashPix [.fpx]
FTEX-PIL – Texture File Format (IW2:EOC) [.ftc, .ftu]
GBR-PIL – GIMP brush file [.gbr]
GIF-PIL – Static and animated gif (Pillow) [.gif]
GRIB-PIL – GRIB [.grib]
HDF5-PIL – HDF5 [.h5, .hdf]
ICNS-PIL – Mac OS icns resource [.icns]
ICO-PIL – Windows Icon [.ico]
IM-PIL – IFUNC Image Memory [.im]
IMT-PIL – IM Tools []
IPTC-PIL – IPTC/NAA [.iim]
JPEG-PIL – JPEG (ISO 10918) [.jfif, .jpe, .jpg, .jpeg]
JPEG2000-PIL – JPEG 2000 (ISO 15444) [.jp2, .j2k, .jpc, .jpf, .jpx, .j2c]
MCIDAS-PIL – McIdas area file []
MIC-PIL – Microsoft Image Composer [.mic]
MPO-PIL – MPO (CIPA DC-007) [.mpo]
MSP-PIL – Windows Paint [.msp]
PCD-PIL – Kodak PhotoCD [.pcd]
PCX-PIL – Paintbrush [.pcx]
PIXAR-PIL – PIXAR raster image [.pxr]
PNG-PIL – Portable network graphics [.png]
PPM-PIL – Pbmplus image [.pbm, .pgm, .ppm]
PSD-PIL – Adobe Photoshop [.psd]
SGI-PIL – SGI Image File Format [.bw, .rgb, .rgba, .sgi]
SPIDER-PIL – Spider 2D image []
SUN-PIL – Sun Raster File [.ras]
TGA-PIL – Targa [.tga]
TIFF-PIL – TIFF format (Pillow) [.tif, .tiff]
WMF-PIL – Windows Metafile [.wmf, .emf]
XBM-PIL – X11 Bitmap [.xbm]
XPM-PIL – X11 Pixel Map [.xpm]
XVTHUMB-PIL – XV thumbnail image []
SCREENGRAB – Grab screenshots (Windows and OS X only) []
CLIPBOARDGRAB – Grab from clipboard (Windows only) []
BMP-FI – Windows or OS/2 Bitmap [.bmp]
CUT-FI – Dr. Halo [.cut]
DDS-FI – DirectX Surface [.dds]
EXR-FI – ILM OpenEXR [.exr]
G3-FI – Raw fax format CCITT G.3 [.g3]
HDR-FI – High Dynamic Range Image [.hdr]
IFF-FI – IFF Interleaved Bitmap [.iff, .lbm]
J2K-FI – JPEG-2000 codestream [.j2k, .j2c]
JNG-FI – JPEG Network Graphics [.jng]
JP2-FI – JPEG-2000 File Format [.jp2]
JPEG-FI – JPEG – JFIF Compliant [.jpg, .jif, .jpeg, .jpe]
JPEG-XR-FI – JPEG XR image format [.jxr, .wdp, .hdp]
KOALA-FI – C64 Koala Graphics [.koa]
PBM-FI – Portable Bitmap (ASCII) [.pbm]
PBMRAW-FI – Portable Bitmap (RAW) [.pbm]
PCD-FI – Kodak PhotoCD [.pcd]
PCX-FI – Zsoft Paintbrush [.pcx]
PFM-FI – Portable floatmap [.pfm]
PGM-FI – Portable Greymap (ASCII) [.pgm]
PGMRAW-FI – Portable Greymap (RAW) [.pgm]
PICT-FI – Macintosh PICT [.pct, .pict, .pic]
PNG-FI – Portable Network Graphics [.png]
PPM-FI – Portable Pixelmap (ASCII) [.ppm]
PPMRAW-FI – Portable Pixelmap (RAW) [.ppm]
PSD-FI – Adobe Photoshop [.psd]
RAS-FI – Sun Raster Image [.ras]
RAW-FI – RAW camera image [.3fr, .arw, .bay, .bmq, .cap, .cine, .cr2, .crw, .cs1, .dc2, .dcr, .drf, .dsc, .dng, .erf, .fff, .ia, .iiq, .k25, .kc2, .kdc, .mdc, .mef, .mos, .mrw, .nef, .nrw, .orf, .pef, .ptx, .pxn, .qtk, .raf, .raw, .rdc, .rw2, .rwl, .rwz, .sr2, .srf, .srw, .sti]
SGI-FI – SGI Image Format [.sgi, .rgb, .rgba, .bw]
TARGA-FI – Truevision Targa [.tga, .targa]
TIFF-FI – Tagged Image File Format [.tif, .tiff]
WBMP-FI – Wireless Bitmap [.wap, .wbmp, .wbm]
WEBP-FI – Google WebP image format [.webp]
XBM-FI – X11 Bitmap Format [.xbm]
XPM-FI – X11 Pixmap Format [.xpm]
ICO-FI – Windows icon [.ico]
GIF-FI – Static and animated gif (FreeImage) [.gif]
FFMPEG – Many video formats and cameras (via ffmpeg) [.mov, .avi, .mpg, .mpeg, .mp4, .mkv, .wmv]
BSDF – Format based on the Binary Structured Data Format [.bsdf]
DICOM – Digital Imaging and Communications in Medicine [.dcm, .ct, .mri]
NPZ – Numpy’s compressed array format [.npz]
SWF – Shockwave flash [.swf]
FEI – FEI-SEM TIFF format [.tif, .tiff]
FITS – Flexible Image Transport System (FITS) format [.fits, .fit, .fts, .fz]
ITK – Insight Segmentation and Registration Toolkit (ITK) format [.gipl, .ipl, .mha, .mhd, .nhdr, .nia, .hdr, .nrrd, .nii, .vtk, .hdf5, .lsm, .mnc, .mnc2, .mgh, .mnc, .pic, .bmp, .jpeg, .jpg, .png, .tiff, .tif, .dicom, .dcm, .gdcm]
GDAL – Geospatial Data Abstraction Library [.tiff, .tif, .img, .ecw, .jpg, .jpeg]
LYTRO-LFR – Lytro Illum lfr image file [.lfr]
LYTRO-ILLUM-RAW – Lytro Illum raw image file [.raw]
LYTRO-LFP – Lytro F01 lfp image file [.lfp]
LYTRO-F01-RAW – Lytro F01 raw image file [.raw]
SPE – SPE file format [.spe]
DUMMY – An example format that does nothing. [.foobar, .nonexistentext]