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);

Similar Messages

  • 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.

  • How to  get the profile object in simple java class  (Property accessor)

    Hi All,
    Please guide me how to get the profile object in simple java class (Property accessor) which is extending the RepositoryPropertyDescriptor.
    I have one requirement where i need the profile object i.e i have store id which is tied to profile .so i need the profile object in the property accessor of the SKU item descriptor property, which is extending RepositoryPropertyDescriptor.
    a.I dont have request object also to do request.resolvename.
    b.It is not a component to create setter and getter.It is simple java class which is extending the RepositoryPropertyDescriptor.
    Advance Thanks.

    Iam afraid you might run into synchronization issues with it. You are trying to get/set value of property of a sku repository item that is shared across various profiles.
    Say one profile A called setPropertyValue("propertyName", value).Now another profile B accesses
    getPropertyValue() {
    super.getPropertyValue() // Chance of getting value set by Profile A.
    // Perform logic
    There is a chance that profile B getting the value set by Profile A and hence inconsistency.
    How about doing this way??
    Create PropertyDescriptor in Profile (i.e user item descriptor), pass the attribute CustomCatalogTools in userProfile.xml to that property.
    <attribute name="catalogTools" value="atg.commerce.catalog.CustomCatalogTools"/>
    getPropertyValue()
    //You have Profile item descriptor and also storeId property value.
    // Use CustomCatalogTools.findSku();
    // Use storeId, profile repository item, sku repository item to perform the logic
    Here user itemdescriptor getPropertyValue/setPropertyValue is always called by same profile and there is consistency.
    -karthik

  • How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?

    How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
    any idea?

    Hi,
    From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
    Here is sample code for getting user profile properties:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Here is a blog below about accessing data from the provider-host apps:
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 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;

  • How to embed ICC profile

    Hello,
    I'm trying to embed an icc profile in a pdf, I am actually doing like this:
      char *filePath=NULL;
              ASPathName ICCPath;
              asprintf(&filePath,"%s/ICC_PROFILES/%s",DataDirName,profileName);
      #if !macosx
                        ICCPath = ASFileSysCreatePathFromDIPath(NULL,filePath,NULL);
              #else
                        ICCPath = GetMacPath(filePath);
              #endif
              ASFile iccProfile = NULL;
              ASFileSysOpenFile (NULL, ICCPath, ASFILE_READ, (ASFile *)&iccProfile);
              ASStm asStmICC = ASFileStmRdOpen(iccProfile,0);
              int tmp = ASFileGetEOF(iccProfile);
              char* buff=calloc(tmp,1);
              ASStmRead(buff,1,tmp,asStmICC);
              AC_Profile profil = NULL;
              ACMakeBufferProfile(&profil,buff,tmp);
              PDDocColorConvertEmbedOutputIntent(pdDoc,profil);
    it's kind of work since I have the icc profile inside my pdf file (I can see it with vim)
    but I'm having issue when trying to open it with Photoshop ... Photoshop don't see the embeded profile.
    any idea ?
    Regards,
    William

    An OutputIntent Profile (which is what you are creating with the PDDoc call at the end) is NEVER used by PDF UNLESS the PDF is also compliant with one of the subset standards (eg. PDF/A, PDF/E, PDF/X) - see ISO 32000-1:2008, 14.11.5.
    Why are you setting this profile?  Is the PDF a single page with a single raster image?
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 19 Oct 2011 05:39:21 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: how to embed ICC profile
    how to embed ICC profile
    created by yokuju<http://forums.adobe.com/people/yokuju> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3979415#3979415

  • 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

  • ECC6.0 t-code COOIS - how to get the "Profile" select-option list

    Hi  PP Gurus
    We are implementing ECC6.0
    We upgraded one of the systems from 4.7 to ECC6.0 (and also kept data: documents, users profiles, variants,u2026etc).
    My question is regarding standard transaction COOIS.
    I do comparison in current 4.7 and ECC6.0 systems (I have SAP_ALL and SAP_NEW in both systems).
    The thing is that in our ECC6.0 system the transaction COOIS doesnu2019t display Profile on select-options screen.
    There are only the following items (select-option screen of COOIS in ECC6.0):
    -LIST
    -LAYOUT
    -Prod.orders checkbox
    -Planned orders checkbox
    u2026And u2018Selectionu2019 tab with other fields
    In the current Enterprise 4.7 system the transaction COOIS displays the following select-option screen:
    -LIST
    -PROFILE
    -LAYOUT
    -Prod.orders checkbox
    -Planned orders checkbox
    u2026And u2018Selectionu2019 tab with other fields
    Questions:
    1.     Is that possible to maintain / see and select a PROFILE in COOIS of ECC6 (or due to new functionality it no more available on that screen ?) How to do that?
    2.     Looking at layouts (I ran COOIS in two systems and compared the results) I canu2019s see in ECC6.0 some icons like u2018Refreshu2019, u2018Order logu2019, u2018Display order componentsu2019, u2018Long textu2019 , u2026.) But all of them are in 4.7 layout. How to get them in ECC6.0 ?
    What I have already explored:
    u2022     ECC6.0 has a new config. t-code COISN (4.7 has only COIS) . I created my new overall profile there, set my own layout, but running COOIS still canu2019t see/use the PROFILE;
    u2022     I have compared the standard structure PPIO_ENTRY_SC1100 in 4.7 and ECC6.0 and found the new component COIS_LISTTYP in ECC6.0. In this situation I ran a new t-code u201CDefine New List Typesu201D (it doesnu2019t exist in 4.7) and created my new entry, but still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
    u2022     I also tried situation when both config. transaction COIS (in 4.7 and ECC6.0) had the SAME overall profiles u2013 still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
    u2022     I found a new icon u201CNavigation profileu201D in result layout of COOIS ECC6.0 Is that right place where I can maintain the icons I need (see my second question) ?
    THANK YOU.

    Hi,
    The reports are modified if am right as of ECC 5.0. Refer to note - 747469 which gives a list of all reports modified.
    If am right by profile you mean navigation profile, this is now in the display screen. The content remains, only thing is the layout is modified & more structured. So i would suggest you to have a look around in COOIS report & you will find the info.
    The navigation profile is adjacent to the icon called Environment (its a drop down list).
    Revert if you face any issues.
    Regards,
    Vivek

  • How to install ICC profiles in Lightroom

    This is probably an easy question, but I didn't see an obvious reply in Google.  I use ICC profiles when I print from Photoshop, but they don't appear in Lightroom.  Is there an easy way to install all my profiles into lightroom?

    Jim,
    Thanks!   I was scratching my head there for a moment, because that's how I install profiles in Photoshop. I couldn't figure out why they weren't showing up in Lightroom. It finally dawned on me that I had had to nuke and re-install Lightroom due to a persistent corrupt file. Apparently the profiles went away with the previous installation.  Thanks for your help!

  • How to fix ICC profile errors?

    I just brought Photoshop CS6 lately and I am trying to edit a picture but I get this message:
    "The embedded ICC profile cannot be used because the embedded ICC profile is invalid. Ignoring the profile" "
    What do I do to fix this?
    Please provide clear instructions as this is the first time I am using Photoshop.

    Some clueless individual handed you a file with an invalid color profile embedded.
    You can either ask for or demand a corrected file from your source, or you can just let Photoshop ignore the profile and then assign different profiles to the file until you find the one that makes the colors in the image look best to you—by trial and error.
    You should know that color management is far from an easy subject.  If you're a rank beginner in Photoshop, be prepared to do a lot of reading on the subject.  You could start here:
    http://www.gballard.net/psd/cmstheory.html
    Photoshop is a professional-level application that makes no apologies for its long and steep learning curve.

  • 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) + "\"");

  • How to apply ICC profiles on all the photos in preset before printing.   and user preset

    Hi,
    hope someone can point me to the right direction..  I have 2 questions about ICC profiles and settings in lightroom.
    1.)  I found that many photos that I have is a little two blue.  There are thousands of photos.  I would like to know if there is a way in Lightroom to "Autobatch" the changes to all those photos.
    The changes are under "white balance" -> "temp"  ->  (need to increase by 2)
    2.)  I will send out the photos to print .  According to the photo stores tech, I can apply their ICC (printer/paper) profiles before sending the files to them.  So, it will have better match how the photos come out. 
    Last time I printed some photos with them, many of the come out too dark.   But it looks fine on screen, and a little too red if I use my own inkject printer.  I hope I correct this.
    If it cannot be done in lightroom, it can only be done with Photoshop, please let me know.  I will try to use other computer with PS installed.   just let me know the steps.
    Thanks in advance.

    I would sugget two UI changes:
    1. The enable / disable is confusing - the toggle switch to turn it on, changes the button label to "Auto Sync" to indicate that it is on. But, this is highly un-conventional and confusing - usually a button label indicates what will happen when you click, not that it is on, and clicking it will actually turns it off - bass-freakin'-ackwards if you ask me!... (Add to it the toggle switch tooltip is the same in both cases - indicating that the switch will enable it, when actually, in one case it will enable, but in the other case it will disable...)
    2. Some simple UI difference that you can't ignore but doesn't bug the ship out of you either, when auto-sync is on: maybe a red-tint to the slider draggers or something...
    Summary: Once you use something other than the button label to indicate Auto-Sync is on, then you can change the button label to read "Auto Sync Off". And if the On indication has an "ommi-present" quality to it - so much the better.
    Rob

  • How to get status profile (STSMA) in user exit ILOM0001

    Hi ABAPers,
    I am currently working on user exit ILOM0001 (Check before saving a functional location) and need to get information about status profile (STSMA). I have checked parameters that is imported into this user exit (DATA_IFLO, DATA_IFLO_OLD, DATA_IFLOS) and none of them have STSMA.
    Could anybody help me how to get this field STSMA into user exit ILOM0001?
    Appreciate it.
    Thanks
    Regards
    Hadi

    Dear Kolla,
    Really appreciate your answer, but
    I don't want to generate or make settlement receiver.
    I was building a script in user exit IW010009,
    And the issue is I can not capture the content of field settlement receiver.
    If we want to capture screen field, ex. equnr, we can use structure CAUFVD,
    when i see the technical detail in this field, the structure for settlement is DKOBR, field EMPGE, but i cannot call it on debug.
    Kindly need your help on this issue.

  • 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.

  • How Important are ICC Profiles when Importing Stills into Premiere Pro?

    Hello,
    I came across the following troubling language in a review of one of Steven Hullfish's books on Color Correction:
    "I also felt as though the author neglected to give ICC profiles enough attention.
    Granted, they are seldom used in pure video workflows, but there are an awful lot of folks out there compositing still images into video content who need to know how to soft-proof against the right destination space in Photoshop so they aren't surprised by the color shifts they see in their ICC-unaware video software. Surely that should merit a pull-quote of its own somewhere."
    My photos have been saved in PhotoShop in the ProRes color space.  Is this going to cause unpredictablility in how my colors look when shown on a 30 foot screen?
    Is Premiere Pro a type of what this author describes as "ICC-unaware" video software?
    If so, what steps should I be taking?
    Thanks,
    Matt Dubuque, 100 Trees

    Premiere Pro does not use ICC color profiles at all. Photoshop and After Effects do.
    When you are working with non-color-managed applications, it's especially important that you preview your work and check your output on the same sort of device on which your audience will be viewing it.

Maybe you are looking for

  • Editing a midi file in GarageBand 09

    Just downloaded a midi soundtrack, a karaoke version of a popular song. I plan to track in original vocals, but I have additional verses of lyrics that will require repeating sections of verse and chorus to accommodate. As cool as midi is on Garageba

  • Docking station problem

    sinse updating my iphone 4 to ios 6.1.2 my kitsound boomdock will not support it or my ipod 4th gen ??

  • Flash player for Windows 7 64 bit says I'm missing a plug in.

    Flash player for Windows 7 64 bit says I'm missing a plug in. How do I find out what it is and get what I need?

  • SharePoint 2013 Stretched Farm

    Considering implemented a Stretched Farm in SharePoint 2013 / with SQL Server Always On AG Synchronise commit We have <1ms latency and 10gbps bandwidth between data centres Has anyone implemented a stretched farm in SP2013 and what was the experience

  • Business logic of report

    Hi friends, what is mean by business logic of report?