aheckmann / gm

GraphicsMagick for node
http://aheckmann.github.com/gm/
6.94k stars 615 forks source link

XMP Profile in `identify` #717

Open nicolezhu opened 6 years ago

nicolezhu commented 6 years ago

Is there a way to see the XMP Profile for an image? Currently I'm using the identify getter (with ImageMagick: true) and this is the output:

   Profiles: 
    { 'Profile-8bim': '11022 bytes',
      'Profile-exif': '11577 bytes',
      'Profile-icc': '3144 bytes',
      'Profile-iptc': 
       { 'City[1,90]': '0x00000000: 254700                                        -%',
         'Image Name[2,5]': 'Oculus Go',
         'Keyword[2,25]': [Array],
         'Created Date[2,55]': '20180321',
         'Created Time[2,60]': '200806',
         'unknown[2,62]': '20180321',
         'unknown[2,63]': '200806',
         'Byline[2,80]': 'Person McPerson',
         'Credit[2,110]': 'Photo by Person',
         'Copyright String[2,116]': 'Test',
         'Caption[2,120]': 'Oculus Go hands-on' },
         'Profile-xmp': '12787 bytes' }

I verified that the XMP data exists on the image (added it in Adobe Lightroom), but I'm only seeing 'Profile-xmp': '12787 bytes' in the profiles.

DeadcatDev commented 5 years ago

Im having some similair issues ... Can You show me Your code? Im trying to get all EXIF stuff but something is very buggy there.