🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #458

Getting more than just the EXIF from an Image...

#458
From: Matt_Mueller
Date: Wed, 04 Feb 2009 09:54
28 lines
1263 bytes
Hi,

I'm using OSX, PS CS4 and JavaScript...

Using these two lines, I can get all of the EXIF data from an image:

var exifData = activeDocument.info.exif.toString();
   alert("EXIF String: \n" + exifData);

But I can see much more then the EXIF data when I go to:

File -> File Info... -> Raw Data

The images I am processing start as RAW (CR2) files from a Canon (1Ds Mark III), opened in Camera RAW (Bridge and Lightroom are not involved).

The "Raw Data" Tag shows additional information, like:

<aux:SerialNumber>600000</aux:SerialNumber>

and other non-exif data.

How can I also grab that in a similar manner to what I showed above?

Any suggestions?

Thank you (again),

Matt
Technical Details
Message-ID: <59b7c6bf.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,3f8f0f34e1bba39f,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Matt_Mueller@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Getting more than just the EXIF from an Image...
Message-ID: <59b7c6bf.-1@webcrossing.la2eafNXanI>
Date: Wed, 4 Feb 2009 01:54:33 -0800
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit