Project

General

Profile

Actions

Supported image formats

The following table shows supported image formats and support level for Exiv2 v0.26.

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.
  • Support for WebP to be introduced in release 0.26.
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
WEBP ReadWrite ReadWrite ReadWrite - image/webp
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.

Updated by Robin Mills over 4 years ago ยท 23 revisions