Supported image formats

The following table shows supported image formats and support level for release 0.23.

Note:
  • Write support for RAW image formats was introduced in release 0.18. Be sure to test carefully if your applications work well with images modified by Exiv2.
  • Reading other TIFF-like RAW image formats, which are not listed in the table, may also work. Exiv2 was so far only tested with the more popular RAW image formats.
  • Support for GIF, TGA and BMP is minimal: Exiv2 recognizes the image format, assigns a MIME type to it and is able to determine the image height and width of the image.
Type Exif mode IPTC mode XMP mode Comment mode MIME type
JPEG ReadWrite ReadWrite ReadWrite ReadWrite image/jpeg
EXV ReadWrite ReadWrite ReadWrite ReadWrite image/x-exv
CR2 ReadWrite ReadWrite ReadWrite - image/x-canon-cr2
CRW ReadWrite - - ReadWrite image/x-canon-crw
MRW Read Read Read - image/x-minolta-mrw
TIFF ReadWrite ReadWrite ReadWrite - image/tiff
DNG ReadWrite ReadWrite ReadWrite - image/tiff (*)
NEF ReadWrite ReadWrite ReadWrite - image/x-nikon-nef
PEF ReadWrite ReadWrite ReadWrite - image/x-pentax-pef
ARW Read Read Read - image/tiff (*)
RW2 Read Read Read - image/x-panasonic-rw2
SR2 Read Read Read - image/tiff (*)
SRW ReadWrite ReadWrite ReadWrite - image/x-samsung-srw
ORF ReadWrite ReadWrite ReadWrite - image/x-olympus-orf
PNG ReadWrite ReadWrite ReadWrite ReadWrite image/png
PGF ReadWrite ReadWrite ReadWrite ReadWrite image/pgf
RAF Read Read Read - image/x-fuji-raf
EPS - - ReadWrite - application/postscript
XMP - - ReadWrite - application/rdf+xml
GIF - - - - image/gif
PSD ReadWrite ReadWrite ReadWrite - image/x-photoshop
TGA - - - - image/targa
BMP - - - - image/x-ms-bmp
JP2 ReadWrite ReadWrite ReadWrite - image/jp2

(*) Not detected correctly yet

Also see Supported video formats.

Also available in: HTML TXT