# Trouble with Rmagick and profile data

**URL:** <https://www.ruby-forum.com/t/trouble-with-rmagick-and-profile-data/115153>\
**Category:** Rails\
**Created:** [September 21, 2007, 3:22am UTC](https://www.ruby-forum.com/t/trouble-with-rmagick-and-profile-data/115153 "2007-09-21T03:22:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinji](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@shinji](https://www.ruby-forum.com/u/shinji)\
**Post date:** [September 21, 2007, 3:22am UTC](https://www.ruby-forum.com/t/trouble-with-rmagick-and-profile-data/115153/1 "2007-09-21T03:22:19Z")

</div>

When I load up an image via rmagick, I get everything except profile  
data:

(from script/console)

> > img = Magick::Image.read("/image\_with\_iptc.jpg").first  
> > =\> /image\_with\_iptc.jpg JPEG 2560x1600 2560x1600+0+0 DirectClass 8-bit  
> > 140kb
> 
> > img.iptc\_profile  
> > =\> nil

(This image definitely has an IPTC profile.)

Once loaded, I can add and edit IPTC data to an image, no problem. It  
just won’t load the profile data already in the file.

Can anyone tell me how to troubleshoot this further?
