Serabe / RMagick4J

RMagick for JRuby.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reading image metadata (EXIF) Problems

Byclosure opened this issue · comments

Hi,

I was unable to read EXIF properties with RMagick4J (method #get_exif_by_entry).

jruby-1.6.7.2 :003 > i = Magick::ImageList.new("street.jpg")[0]
 => #<Magick::Image:0x7d38847d @image=#<Java::Magick4j::MagickImage:0x9826ac5>> 
jruby-1.6.7.2 :006 > i.get_exif_by_entry
NoMethodError: undefined method `[]' for #<Magick::Image:0x7d38847d>

The RMagick documentation says reading exif properties is supported
(http://www.imagemagick.org/RMagick/doc/image2.html#get_exif_by_entry).

Is this a limitation of RMagick4J, am I doing something wrong, missing something?

Thanks,
Vasco

EXIF metadata is not implemented yet.
On 21 June 2013 at 17:44:58, Byclosure (notifications@github.com) wrote:

Hi,

I was unable to read EXIF properties with RMagick4J (method #get_exif_by_entry).

jruby-1.6.7.2 :003 > i = Magick::ImageList.new("street.jpg")[0]
=> #<Magick::Image:0x7d38847d @image=#Java::Magick4j::MagickImage:0x9826ac5>
jruby-1.6.7.2 :006 > i.get_exif_by_entry
NoMethodError: undefined method `[]' for #Magick::Image:0x7d38847d
The RMagick documentation says reading exif properties is supported
(http://www.imagemagick.org/RMagick/doc/image2.html#get_exif_by_entry).

Is this a limitation of RMagick4J, am I doing something wrong, missing something?

Thanks,
Vasco


Reply to this email directly or view it on GitHub.