Library for handling exif image tags.
Basic usage:
> gem install RubyInline
> gem install ruby-exiv2 > irb -r rubygems require ‘exiv2’ @img = Exiv2::Image.new(“a.jpg”) puts @img @img = 2048 @img.save
Version 1.3 introduces dynamic accessors:
require 'exiv2'
@img = Exiv2::Image.new("a.jpg")
puts @img.Exif.Photo.PixelXDimension
@img.Exif.Photo.PixelXDimension = 2048 @img.save