Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7583733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:45:10+00:00 2026-05-30T18:45:10+00:00

I’m looking for a very specific piece of information. I could make this a

  • 0

I’m looking for a very specific piece of information. I could make this a rather detailed question I guess but I’d rather try keeping it short and to the point.
I need to acces a piece of meta data (exif information) from within a Photoshop filter plug-in. I have never dealt with exif data from within a Photoshop plug-in or without and the PS SDK documentation is of a form that leaves a lot of questions. I would eventually get there but was wondering if anyone here has done this before and could help me out with an example. I’d be very grateful for that…

What we need should be documented here in the SDK:

documentation/html/group___resource_suite.html
documentation/html/imageresourcessection.html 

The latter document says that the resource ID I need to retrieve the exif data is 1059 (decimal) and that accessing Exif data is supported since PS 7.0 which is good. But the SDK has no information (that I found) as to what you get, pointer? pointer to what? They just tell you to look at the exif spec. So do I get a pointer to the RAW binary exif data and if so how to I extract a field from that.

The specifications for the Exif data are here:
http://exif.org/specifications.html

As an example I’d like to get at this exif field:

Tag Name                            Field Name          Dec     Hex     Type  Count
Image title                         ImageDescription    270     10E     ASCII Any
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:45:11+00:00Added an answer on May 30, 2026 at 6:45 pm

    EDIT: After a deeper research I’ve found the following (an excerpt from the documentation):

    Document: Photoshop API Guide.
    Argument: Callbacks.

    The callback routines are organized into “suites” collections of
    related routines which implement a particular functionality.

    The suites are described by a pointer to a record containing:

    1. a 2 byte version number for the suite,
    2. a 2 byte count of the number of routines in the suite,
    3. a series of function pointers for the callback routines.

    You are interested in the Property suite.

    Current version: 1; Adobe Photoshop: 5.0; Routines: 2.

    Properties are identified by a signature and key, which form a pair to
    identify the property of interest.

    Adobe Photoshop’s signature is always ‘8BIM’ (0x3842494D).

    The EXIF property is controlled by The Japan Electronic Industry Development Association (JEIDA) and Electronic Industries Association of Japan (EIAJ) which merged in Novemeber of 2000. The EXIF specification can be downloaded from their web site at the following location.

    http://it.jeita.or.jp/jhistory/document/standard/exif_eng/jeida49eng.htm

    GetPropertyProc( )
    
    MACPASCAL OSErr (*GetPropertyProc) (OSType signature, OSType key, int32 index, int32 * simpleProperty, Handle * complexProperty);
    

    This routine allows you to get information about the document currently being processed.

    property name: propEXIFData 
    id:EXIF 
    type:complex (modifiable)
    description:Camera and device data.
    

    To recap I’ll write some juicy code:

    GetPropertyProc getProperty = formatParamBlock->propertyProcs->getPropertyProc;
    rc = getProperty(0x3842494D, propEXIFData, 0, &simpProp, &compProp);
    if ( rc )   
        return;
    
    GetPIHandleSizeProc getSize = formatParamBlock->handleProcs->getSizeProc;
    int32 size = getSize(compProp);
    if ( !size ) 
       return;
    
    LockPIHandleProc lock = formatParamBlock->handleProcs->lockProc;
    uint8* exif = (uint8 *)lock(compProp, false);
    if ( !exif ) 
       return;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.