Get ICC Profile name of image in INDD

Hi,
How I can get the Profile name associated to a RGB/CMYK image in InDesign?
The properties profile of image return Embedded instaed of name of ICC profile (Example Adobe RGB (1998)).
From link palette this info is available...
Stefano

Hi,
I found the solution using the power of Sips:
try
    set pathImmagine to "Snow Leopard:Users:stefano:Desktop:roman16_06_yellow.tif"
     set profileName to do shell script "sips -g profile " & quoted form of (POSIX path of pathImmagine) & " | fgrep profile | sed  's/  profile: //g'"
on error msg number errnum
    set profileName to "ND"
end try
Very fast even with big images.
But like Adobe as added the intelligent new Parent page property, this property must be added in InDesign
Stefano Cappello

Similar Messages

  • Get icc-profile from a image

    Is ist possible to get the ICC-profile of a image
    I try this with  a Adobe RGB 1998 with embeded profile:
    alert(app.activeDocument.selection[0].graphics[0] .profile);
    alert(app.activeDocument.selection[0].graphics[0] .space);
    But it only return  "Emdeded" for .profile and "RGB" for .space. But i want it to return adobe rgb 1998
    Is it possible?

    I can't think nothing better than temporarily open the link in Photoshop and get its embedded profile from there:
    #target indesign
    #targetengine "session"
    if (!BridgeTalk.isRunning("photoshop")) {
         alert("Photoshop is not running.");
    else {
         var link = app.selection[0].graphics[0].itemLink;
         CreateBridgeTalkMessage(link.filePath);
    function CreateBridgeTalkMessage(filePath) {
         var bt = new BridgeTalk();
         bt.target = "photoshop";
         var script = GetProfile.toString() + "\r";
         script += "GetProfile(\""  + filePath + "\");";
         bt.body = script;
         // $.writeln(script);
         bt.onResult = function(resObj) {
              var result = resObj.body;
              DisplayProfile(result);
         bt.send(100);
    function GetProfile(filePath) {
         try {
              app.displayDialogs = DialogModes.NO;
              var psDoc = app.open(new File(filePath));
              var prof = app.activeDocument.colorProfileName;
              psDoc.close(SaveOptions.DONOTSAVECHANGES);
              app.displayDialogs = DialogModes.ALL;
              return prof;
         catch(err) {
              psDoc.close(SaveOptions.DONOTSAVECHANGES);
              app.displayDialogs = DialogModes.ALL;
    function DisplayProfile(result) {
         alert( "Color profile is \"" + ((result == "undefined") ? "Not embedded" : result) + "\"");

  • Get the icc profile of an image

    Hi all,
    I'm looking for a way to get the icc profile of an image in a PDF.
    I already know the tools like Acrobat preflight … But I only can get that my PDF contents RVB images or not.
    I'm looking for a tool to return the ICC profile of all images (s'RGB, Adobe 1988, etc.).
    Have anyone an ideas?
    Thanks a lot.
    Bye

    Hi,
    I have an other question …  Sorry
    I use this tool and it help me a lot … But I still can't get the icc profil name.
    For example: the inspector return CMYK device but I would like to have Fogra 27, ISO coated v2, Swop etc.
    Do you have an ideas?

  • How to get the profile name

    I did not know how to get the profile name in photoshop file using javascript? Kindly help me.

    var myDocProfile = app.activeDocument.colorProfileName;

  • Get the font names and image names in QXD

    Hi,
    How to get the font names and image name in Quarkxpress document file using java?.
    Is any third party packages for getting font n image names in QXD?
    thanks,
    nithya

    rtuck,
    I believe this may solve it:
    Open System Preferences and go to Accessibility. Next, select Display from the source list along the left, then check the box labelled Reduce transparency.
    It was first presented in this post #15 by TheUlser:
    https://forums.adobe.com/message/6854594#6854594

  • How to get icc profil?

    hi,
    I would to get the icc profil of a document in my plugin. But i don't find the method to set it.

    Which command throws the exception? Try the following:
    for (int j=0; j<eleNum; j++)
        pdeElement = PDEContentGetElem(pdeContent, j);
        if (PDEObjectGetType((PDEObject)pdeElement) == kPDEImage)
            PDEImage theImage = (PDEImage) pdeElement;
            PDEColorSpace theColorSpace = PDEImageGetColorSpace(theImage);
            ASAtom cpName = PDEColorSpaceGetName(theColorSpace);
            const char* colorSpaceName = ASAtomGetString(cpName);
            AVAlertNote(colorSpaceName);

  • How to get ICC Profile from Illustrator.Document ?

    I am using CS5 SDK and I have an Illustrator.Document object.  I want to get the path to the ICC profile(s) associated with that document (RGB, CMYK, Greyscale).  How can I get to those?
    Thanks,
    ...Matt

    A little, since I'm a C++ guy
    That said, I've looked through the headers and there's slim pickings on ICC profiles. I seem to recall others have asked similar questsions and run into problems with the lack of API support.
    The only thing I can find is this in AIOverrideColorConversion.h:
    AIAPI AIErr ( *GetWSProfile )( const ASUInt32 whichProfile, AIColorProfile *profile );
    AIAPI ASUInt32  ( *GetOpenPolicy )(AIColorProfile *profile, ASUInt32 colorModel, ASBoolean isLink, ASBoolean linkHasMultipleProfiles);
    AIAPI AIErr ( *GetProfileData ) (const AIColorProfile profile, ASUInt32 *size, void *data );
    AIAPI AIErr ( *GetProfileName) (const AIColorProfile profile, ai::UnicodeString& profileName ) ;
    There's documentation associated with those calls, but pasting them is a problem because the editor interprets the tabs as tables
    Does that sound like what you want? If so, check out that header and look up those methods -- see if what they describe sounds useful. Presumably there's something similar somewhere in the C# API.

  • Getting icc profiles into lightroom

    I have downloaded profiles from epson for my 3800 printer, profiles for red river paper.  They do not show up in LR print module.  They do however, show up in Photoshop print module.  What am i doing wrong?

    maybe not.  how do i check to see if the profiles are RGB or CYMK?  will RGB profiles still print well on my SP3800?
    Double click the profile. It should open in Colorsync utility. In the Header section you should see under "Space" whether it is RGB or CMYK. The profile should also be of class Output. All of RR's profiles that I have used were RGB and work fine in Lightroom. You don't want CMYK profiles for a inkjet printer that uses more than 4 inks and for that reason profiles for such printers are rarely CMYK. So the profiles are probably in the wrong spot or you have a problem icc profile in the profiles folder that trips up Lightroom. You can fix such problems by running profile first Aid in Colorsync Utility. If you don't see where to do that, open a new window in the Utility. In this utility you can also see which profiles are correctly installed in the profiles section.

  • Read ICC profile information of an image

    Dear community,
    for my further implementation I need some information about the ICC profile used for an actual image edited inside Photoshop. How can I read the ICC informations about an image?
    I am implementing an export plug-in and found some ICC component inside the ExportRecord struct, called:
    Handle iCCprofileData; /**< Handle containing the ICC profile for the image. (NULL if none.)
                                                Photoshop allocates the handle using the Photoshop handle suite.
                                                The handle is unlocked while calling the plug-in.
                                                The handle is valid from  \c ExportSelectorStart to \c ExportSelectorFinish
                                                Photoshop frees the handle after \c ExportSelectorFinish. */
    int32 iCCprofileSize; /**< Size of profile. */
    int32 canUseICCProfiles; /**< Non-zero if the host can accept or export ICC profiles .
                                                If this is zero, the plug-in should not set or dereference \c iCCprofileData. */
    What I am not understand:
    How can I read the iCCprofileData and which information will be delivered by the iCCprofileSize?
    For iCCprofileData I got int values like @179952120 or @179952176. They differ for every loaded image. Seems that I just read the memory address. The "Handle" points to an empty char '\0'. I have no idea how to work with the datatype "Handle" correctly ...
    For the iCCprofileSize I got integer values like 544 for the embedded profile Adobe RGB (1998), 3144 for the working color space sRGB IEC61966-2.1 or also 3144 for the embedded profile without color management:
    embedded profile  = Adobe RGB (1998) -> iCCprofileSize = 544 (or sometimes 560)
    working color space = sRGB IEC61966-2.1 -> iCCprofileSize = 3144
    embedded profile = without color management -> iCCprofileSize = 3144
    embedded profile = SWOP2006_Coated3v2 -> iCCprofileSize = 2747952
    working color space = Coated FOGRA39 (ISO 12647-2:2004) -> iCCprofileSize = 654352
    embedded profile = without color management -> iCCprofileSize = 654352
    The variable canUseICCProfiles delivers always the value 1. As well if I selected the embedded profile without color management.
    Can I infer from the iCCprofileSize which profile will be used by each image?
    Does somebody has more experience with these there members (iCCprofileData, iCCprofileSize and canUseICCProfiles) of the struct ExportRecord?
    I would be grateful for some hints.
    King regards,
    Silver

    hai,
    i paste the java source code for getting each pixel value of an image.i think that this code is usefull to you.
    import java.awt.image.PixelGrabber;
    import java.awt.Toolkit;
    import java.awt.Image;
    class getpixel2
    public static void main(String args[]) throws Exception
    Image image = Toolkit.getDefaultToolkit().getImage("D:\\one.jpg");
    if(image==null)
    System.out.println("NO FIle");
    PixelGrabber grabber = new PixelGrabber(image, 0, 0, -1, -1, false);
    if (grabber.grabPixels())
    int width = grabber.getWidth();
    int height = grabber.getHeight();
    if (isGreyscaleImage(grabber))
    byte[] data = (byte[]) grabber.getPixels();
    else
    int[] data = (int[]) grabber.getPixels();
    for(int i=0;i<data.length;i++)
    int r = (data[i] >> 16) & 0xff;
    int g = (data[i] >> 8) & 0xff;
    int b = (data[i] >> 0) & 0xff;
    System.out.println("(R,G,B)=("+r+","+g+","+b+")");
    public static final boolean isGreyscaleImage(PixelGrabber pg)
    return pg.getPixels() instanceof byte[];
    }

  • Image Processor: Include ICC Profile?

    I shot jpg sRGB. Should I include the ICC profile when extracting images? The images will be uploaded to zenfolio.com and made available for print sales. Looking for guidelines and what you folks do. Thank-you.

    Hi,
    Do you have Include ICC Profile checked at the bottom of the Image Processor dialog?

  • Please, please, please make ICC profile info available for RGB files.

    I know, I know, I know - if everything's working properly one should never care what the icc profile is that's being used to interpret the colors in a file. And good people shouldn't get killed by falling tree branches... but stuff happens, and sometimes icc profiles are not handled properly and colors are off because the wrong profile is being used or is absent and assumed to be sRGB when that is not correct.
    Photographers care about color and nothing is more important than the ICC profile when it comes to properly displaying colors.
    I'd also like to see the ability to assign an ICC profile, swap an ICC profile, and convert to specified ICC profile. But I'd be happy enough just to have the icc profile name displayed - I could take it from there...
    PS - I'd like to see this feature removed in ten years (I'm an optimist) after all image handling software handles icc profiles correctly, until then... (please).
    Thanks in advance,
    Rob

    Never mind - I just realized this information is available via ExifMeta (plugin) - I retract the request for personal purposes.
    Still, it might be worth consideration for people who don't use ExifMeta.
    Rob

  • Embedding ICC-profiles in pdf

    I'm having problems getting InDesign to embed the ICC-profiles for CMYK images when exporting a PDF/X-3 from either CS5 or CS 5.5.
    The RGB images all have the correct ICC-profiles, but the CMYK images only show as CMYK in PitStop.
    Any ideas how to get this working properly?
    I want to use Enfocus PitStop Connect to flightcheck the PDF before sending it to out ftp-server, but due to the ICC-profiles not being embedded properly all files receive an error.

    Thanks Shulin but I've already downloaded the acrosdk. The samples work based on plug in functionality to acrobat i.e. they call an api when acrobat runs. I want to write to the pdf file from my own C++ program which is only linked with the XMP toolkit as opposed to a plug-in. I am looking for the same kind of information that was supplied for JPG, TIFF by Adobe, only for PDF.
    I've checked the knowledgebase as you suggested and this information is not there.
    What are the data structures that need to be modified to stick the XMP packet into a pdf file. Can I just append it to the end of the file?
    Steve

  • Unable to load the ICC profile

    So a few weeks ago I switched from windows XP to windows vista (i think).
    After that whenever I load images from my nikon d90 into pse or ps5 it's I get
    an error message stating it is unable to read the icc profile. I then have to manually
    pick the icc profile for each image. I then switched back to windows XP and I am
    still getting the same error.
    This is making me crazy. How do I fix this?!

    Hi Roy,
    This document explains exactly what you would like to do...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50018d40-d370-2910-3ba7-aa83038d257a
    If the link is no more valid just make a search on ''how to extend user details"...
    Regards,
    Fabian

  • ICC Profiles:  Does the iPad not recognise them?

    Is the iPad not colour aware in the sense that it recognises and uses ICC profiles embedded in images?
    Secondly, it's a great shame the display can not be calibrated. So much for portfolio display or any work that is colour sensitive.

    I.didn't say anything about editing. The photo app is Apple app for displaying photos.
    Somebody needs to write and app to calibrate the monitor. The problem with this is third party apps can't run in the background. So Apple would have to make it a system preference. They would be the one to make this happen.
    You could write a feedback to Apple requesting this feature:
    http://www.apple.com/feedback/ipad.html

  • Can I include the file names of images in the image itself?

    *How can I get the file names of images on each image (without entering them by hand)?*
    (I am bring 250 images into a Keynote document, with each image on its own slide. I want to have the file names of the images shown on each slide or image. This doesn't need to look nice.)
    (If I can't do this in Aperture, I also have Photoshop Elements. Is there a way to do that in Elements?)

    You can't do this directly via Ap3. There are plug in's i believe that make it possible. Maybe someone knows more? Allan

Maybe you are looking for

  • Exchange rate accounting (FI) in header of billing invoice

    Hello. I have got a question about the exchange rate accounting (FI) in the header of the billing invoice. Situation: When creating the billing document: on item level the exchange rate type B is correctly taken for the date of billing as determined

  • How can i search for iPhone panoramics in iPhoto 11?

    Hello all, Ive imported a lot of photos from my iphones and other devices. I need to find a way that I can search for panoramics just as the iPhone seperates them. I have tried searching using smart folders, this catches some, however the height and

  • I can't open a Final Cut Pro 6 file in Final Cut Pro 10.  Please help!

    I am a long time user of Final Cut Pro 6.  I finished a video for a client but my computer was giving me issues because it's older and needs cleaned off so it is slow and it's affecting the video.  I downloaded Final Cut Pro 10 trial on my laptop and

  • Moving home - how can I leave my phone number with...

    Hi all, I've searched but not found an answer to this one. I want to: 1) Move my phone line to a new property  2) Set up a new account for the current property (for someone still living there) 3) Move my current phone number, to the new account, on t

  • Workgroup Manager doesn't show groups in drawer

    OSX Server 10.6.8 on an Xserve. Trying to migrate (manually) a 10.5 setup to a 10.6 system. I exported WM users, then imported them. On the surface all looks well. On the 10.6 system, viewing the list of users, I select a user, then the Groups tab. I