Skip to content
Stanislaw Pankevich edited this page Aug 28, 2013 · 4 revisions

Reading Exif data throws an error

Example Code

img = VIPS::Image.new("img.jpg")
img.get("exif-ifd0-Orientation") 
VIPS::Error: VIPS error: vips_image_get: field "exif-ifd0-Orientation" not found

This is most commonly a result of a mismatched version of ruby vips and libvips. It is recommended to remove both, and reinstall. Generally speaking, this is a result of upgrading rubyvips without upgrading libvips and/or its dependencies.

Originally discussed: #44

Clone this wiki locally