image v0.25.9: read all the metadata

209 points Shnatsel 15 comments

image is the #1 image manipulation crate.

This release expands support for image metadata:

  1. You can now read XMP metadata from PNG, JPEG, GIF, WebP and TIFF files
  2. The preceding metadata format, IPTC, can now be read from JPEG and PNG files. GIF and WebP never supported it.
  3. You can also now read an ICC profile from GIF files, as funny as that sounds!

With those additions in place, image can read nearly all metadata from all supported image formats, with the exception of Exif and IPTC from TIFF and XMP from AVIF.

This release also brings more fine-grained control over compression when writing PNG, fixes for reading TGA images, adds support for reading 16-bit CMYK TIFF images, and other miscellaneous improvements. See the full changelog for details.