Hi All,
I try to get iptc data from some images with RMagick.
This worked on my local machine, but failed on the server.
It gave no errors, we had some issues with the RMagick version,
but installed the newer version, that I use locally on the server.
Errors disappeared, but still we don't get the data.
(using the same test image locally and on the server)
local:
This is RMagick 1.15.15 ($Date: 2008/02/24 23:26:38 $) Copyright (C) 2008 by Timothy P. Hunter
Built with ImageMagick 6.2.6 04/18/06 Q16 http://www.imagemagick.org
Built for ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1]
On the server:
This is RMagick 1.15.15 ($Date: 2008/02/24 23:26:38 $) Copyright (C) 2008 by Timothy P. Hunter
Built with ImageMagick 6.2.4 02/10/07 Q16 http://www.imagemagick.org
Built for ruby 1.8.5 (2006-08-25) [x86_64-linux]
As you can see, the RMagick versions are identical.
The ImageMagick version is 6.2.6 against 6.2.4 on the server.
I tried to find some information about differences between those versions,
but didn't find anything on the ImageMagick site.
I would try to install the newer version on the server, but it's a
production site and I don't want to have unnecessary downtime and it
would be lots of work. So any information if this would help at all
would be welcome.
the code we use is rather simple, like this line:
self.name = image.get_iptc_dataset(Magick::IPTC::Application::Title)
Does anybody know, if there where any changes between those versions regarding iptc?
Or any other help, why this fails?
iptc data & RMagick
Re: iptc data & RMagick
thorsten, please send a copy of the image to rmagick AT rubyforge DOT org, or post to the RMagick help forum on RubyForge (http://rubyforge.org/forum/?group_id=12) and include a URL where the image can be downloaded.
Re: iptc data & RMagick
If somebody has similar problems:
I sent the image to rmagick and got a fast reply (thank you)
In fact there seems to be a bug in the older version of ImageMagick (6.2.4) on our server.
The iptc methods need the newer version, at least 6.2.6
I sent the image to rmagick and got a fast reply (thank you)
In fact there seems to be a bug in the older version of ImageMagick (6.2.4) on our server.
The iptc methods need the newer version, at least 6.2.6