How to set "embed icc Profile" option  to export document as JPEG

Hi All,
While exporting the document as jpeg, through File->Export, there is an option "Embed ICC Profile" as figure shows.
How to set it if I am exporting the document through my program in which I rasterize the document and used 
the sAIImage->AsJPEG(raster, jpegDataFilter, params);
I didn't find any option in AIRasterizeSettings or AIImageOptJPEGParams to set this flag.
plz anyone suggest me how to do so.
Thanks,
Rud.

thanks for you through out help.
I use the folowing code which executing properly,but there is no effect on JPEG whether the value of jpegparam.s.jpeg.embedICCProfile is 0 or 1.
/////Start
ASOptimizationSettings jpegparam;
jpegparam.fileFormat = asffJPEG;
jpegparam.s.jpeg.embedICCProfile = isICCProfileEmbeded;
ASInt32 optID;
optID = sAIOptSet->GetUniqueOptimizationSettingsID();
error = sAIOptSet->SetOptimizationSettings(optID, &jpegparam); // after executing this line error = 0
/////End
I guess it would  work when we export document as jpeg through AIActionManagerSuite
not with  rasterizing the layer's art and then exporting them as JPEG  using AsJPEG().
thanks

Similar Messages

  • Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB

    Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB

    Cant we even use the dlls in an application?
    In order to automate Acrobat, you need to have Acrobat installed. There is
    nothing you can do with just the DLLs. As was already stated, Acrobat is
    not licensed for use on a server, but regardless of that, it's also
    not technically suitable for server use. You need to find a solution
    outside of Acrobat to solve your problem.
    It also seems that you don't have a good understanding of what is going in
    inside a PDF file. PDF is a very complex file format, and based on
    your questions
    and followup questions, you need to spend a considerable amount of time
    getting familiar with the PDF file format to understand how color works in
    the PDF context. Reader the PDF spec, while paying special attention to the
    section about color. You will find out that if you want to convert the
    color space of a "PDF file", you actually need to convert the color space
    associated with every single object in your PDF file. That is fairly simple
    for vector graphic and text, but when it comes to images, you may have to
    convert the image data. Once you have a good understanding of what it is
    you need to do within the PDF file, then you can start looking for tools
    that allow you to do that. Again, Acrobat and therefore the Acrobat SDK is
    not suitable for this task. If you want to stay with Adobe products take a
    serious look at the PDF Library, which his licensed through Datalogics (
    http://www.datalogics.com/products/pdf/pdflibrary/). As you've mentioned,
    there are other, non-Adobe PDF libraries that you can also use, but this is
    the Acrobat SDK forum, so I won't discuss any of those 3rd party solutions.
    You are wasting your time while looking for a simple solution that does not
    exist.

  • How to set the ICC profile in LR to be the same as PS?

    Hi Adobe,
    Why do my images look much darker and contrasty in LR(4.3) then they do on PS(CS6) where they have far more tonal range? I'm looking at them side by side on the same screen. I know it has to do with ICC profiles but I can't find how you set that in LR. Any help would be appreciated. An example can be viewed here: http://mikedodd.co.uk/other/temp/Screen%20shot%202013-01-22%20at%2023.06.52.jpg You can see how much better the top (PS) image is.
    Thanks
    Mike

    I'm not familiar with that model, but don't all Coloredges come with Color navigator software and sensor? No need to use third-party calibrators, the results are guaranteed to be much better using the Eizo calibrator. I use Eizo easypix on a pair of Flexscans, and the results are vastly better than using Spyder 3 and ColorEyes Display Pro (which I also have).
    In any case the Spyder 2 is not a good sensor. It quickly got a bad reputation and rightly so (I have one sitting in the back of a drawer). Things improved tremendously with the Spyder 3, and now the 4 is out.
    The general consensus, however, is that the best "mainstream" third-party calibrator currently on the market is the x-rite i1 Display Pro. If this is what you need to use, maybe it's time to retire the Spyder 2?
    Most real-world images contain parts that are out of gamut for sRGB, you'll quickly get used to that. But it can still look good. With a little work, it's possible to make almost anything look good inside sRGB. Consider that almost all monitors have a native color space very close to sRGB. Only the so-called wide gamut monitors (I'm not sure if yours is one) exceed that. But with a standard monitor, what you see is already sRGB.
    Relative intent "hard-clips" everything outside the target space gamut, but OTOH preserves everything in-gamut unchanged. Perceptual compresses near the gamut border, sometimes resulting in slight color and tonal changes. The difference isn't dramatic, I never bother with intent, but leave it on relative and deal with clipping when necessary (that is, if you lose desired texture and detail).

  • 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

  • EXPORT to TIFF/PSD Why "Embed ICC Profile?"

    I export high res TIFFs and PSDs a lot from Illustrator. One option is EMBED ICC PROFILE. I'm going to PS to build my composite. When should I embed the profile, and when shouldn't I?
    When I open in PS, even if I don't Embed, doesn't PS know what colorspace the doc was created?
    Just curious.
    Maxi

    Embed the profile. But then be careful how to treat the images in Photoshop.
    Would be best to sychronize color settings between all the Creative Suite apps, so that no color conversion needs to be done.
    If you need to convert profiles, you should convert into profile, not just apply a different profile.

  • How to install Epson ICC profiles using Photoshop CC?

    How to install Epson ICC profiles ussing Photoshop CC on Mac?

    Danny,
    Just stop and think for a moment. Firstly, it's not Rocket science to produce an icc profile, and does not involve the profile having to physically 'fit' into a pre-formed item such as the razor blade analogy you used.
    Secondly, If the likes of Epson and HP did produce printer profiles for all makes of paper, can you imagine how much more product they would sell. Printer companies are currently missing out on substantial amounts of income at the moment because the cost of their inks is more expensive than gold! Thus, the third party ink manufacturers - although not producing an ink as good as the original - are earning large sums of money and once again this is income loss to the major printer manufactures.  Can you imagine what would happen if certain vehicles would only run on  a specific fuel? I don't mean Diesel or Petroleum, but different manufacturers, Shell, Texaco, Murco etc.
    At the end of the day the only person who is adversely affected by this business model is us, the consumer.
    I really don't think they need you to be standing up for them Danny.

  • How to set the default profiles in pi i have a problem

    hi friends
    can any one give me the solulation for this problem
    Exception class: com.sap.aii.utilxi.prop.api.PropertiesException
    Unable to read configuration data (ExchangeProfile/aii.properties)
    Exception Details
    Exception class: com.sap.aii.utilxi.prop.api.PropertiesException
    Message
    Unable to read configuration data (ExchangeProfile/aii.properties)
    Stacktrace
    Thrown:
    MESSAGE ID: com.sap.aii.utilxi.prop.api.rb_all.NO_PROPERTIES
    com.sap.aii.utilxi.prop.api.PropertiesException: Unable to read configuration data (ExchangeProfile/aii.properties)
         at com.sap.aii.utilxi.prop.api.PropertySourceFactory.initServerMode(PropertySourceFactory.java:202)
         at com.sap.aii.utilxi.misc.api.AIIProperties.initServerMode(AIIProperties.java:401)
         at com.sap.aii.ib.server.applcomp.StartupServerProperties.initPropertiesForServer(StartupServerProperties.java:95)
         at com.sap.aii.ibrep.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:152)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at jsp_Main1198312518875._jspService(jsp_Main1198312518875.java:21)
         at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Error History, Build Info, Generic Application Info
    plz help me i could not do any work
    how to set the defult profiles
    raja

    Please look at this thread. This might resolve your problem.
    Unable to read configuration data (ExchangeProfile/aii.properties)
    -Pinkle

  • How to set the JVM Startup Options?

    Hi,
    I want to know how to set the JVM Startup Options...
    The idea is, I want to test how the remote clients can access an EJB that is running on a different machine... Remote client here means, I have a java client application that runs on one machine and that contacts an EJB thats running on a different machine... I posted this question in J2EE forum and I got this reply...
    If you need to access EJB components that are residing in a remote system other than the system where the application client is being developed, set the values for the Java Virtual Machine startup options:
    jvmarg value = "-Dorg.omg.CORBA.ORBInitialHost=${ORBhost}"
    jvmarg value = "-Dorg.omg.CORBA.ORBInitialPort=${ORBport}"
    Now how to set the JVM Startup Options? I know my server ORBHost Name and the ORBPort..
    Anybody to help !!!
    Thanks in advance,
    Karthik

    java -Dorg.omg.CORBA.ORBInitialHost=${ORBhost} -Dorg.omg.CORBA.ORBInitialPort=${ORBport} <the main class>
    That should do it..

  • How do I apply ICC profiles previously down loaded on computer before installing Elements 12

    How do I apply ICC profiles previously downloaded on my computer before loading elements 12

    run the cleaner, http://www.adobe.com/support/contact/cscleanertool.html

  • How do I install icc profiles? I keep getting message that folder can't be modified.

    How do I install ICC profiles on Lion? I keep getting an error message that the folder can't be modified. Any help is greatly appreciated.

    If the profiles need to be accessed by all user accounts on that Mac, follow Martin's instructions for getting the main Library folder to appear. In order to place items into the folder, you need the admin name and password before the OS will allow you to add (or remove) any items. It's either that, or you have to copy the same profiles into every individual user account.
    If the only user of the Mac is you, then the Profiles folder in your user account will work just as well.

  • ICC profile to convert RGB to CMYK,   jpeg is ok, png format have a problem

    When I use ICC profile to convert RGB to CMYK, jpeg format is ok, but png format have a problem.the color is lossy.
    It means, the png file color is shallow than jpeg file after convert.Could anybody help me?
    thanks
    source code
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Iterator;
    import javax.imageio.IIOImage;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageTypeSpecifier;
    import javax.imageio.ImageWriteParam;
    import javax.imageio.ImageWriter;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.metadata.IIOMetadataNode;
    import javax.imageio.stream.ImageOutputStream;
    import org.w3c.dom.Node;
    import com.sun.image.codec.jpeg.ImageFormatException;
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGEncodeParam;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    public class TestImage {
         public static void main(String args[]) throws ImageFormatException, IOException{
              BufferedImage readImage = null;
              try {
                  readImage = ImageIO.read(new File("C:\\TEST.jpg"));
              } catch (Exception e) {
                  e.printStackTrace();
                  readImage = null;
              readImage = CMYKProfile.getInstance().doChColor(readImage);
              writeImage(readImage, "C:\\TEST_after_.jpg", 1.0f);
        protected static String getSuffix(String filename) {
            int i = filename.lastIndexOf('.');
            if(i>0 && i<filename.length()-1) {
                return filename.substring(i+1).toLowerCase();
            return "";
        protected static void writeImage(BufferedImage image, String filename, float quality) {
            Iterator writers = ImageIO.getImageWritersBySuffix(getSuffix(filename));
            System.out.println("filename�F"+filename);
            if (writers.hasNext()) {
                ImageWriter writer = (ImageWriter)writers.next();
                try {
                    ImageOutputStream stream
                        = ImageIO.createImageOutputStream(new File(filename));
                    writer.setOutput(stream);
                    ImageWriteParam param = writer.getDefaultWriteParam();
                    if (param.canWriteCompressed()) {
                        param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);//NO COMPRESS
                        param.setCompressionQuality(quality);
                    } else {
                        System.out.println("Compression is not supported.");
                    IIOMetadata metadata = null;
                    if(getSuffix(filename).equals("png") || getSuffix(filename).equals("PNG")){
                         ImageTypeSpecifier imageTypeSpecifier = new ImageTypeSpecifier(image);
                         metadata = writer.getDefaultImageMetadata(imageTypeSpecifier, param);
                            String sFormat = "javax_imageio_png_1.0";
                            Node node = metadata.getAsTree(sFormat);
                            IIOMetadataNode gammaNode = new IIOMetadataNode("gAMA");
                            String sGamma = "55556";
                            gammaNode.setAttribute("value", sGamma);
                            node.appendChild(gammaNode);
                            metadata.setFromTree(sFormat, node);
                    writer.write(null, new IIOImage(image, null, metadata), param);
                    writer.dispose();
                    return;
                } catch (IOException ex) {
                    ex.printStackTrace();
    }

    Hi,
    I am having similar problems. I have read somewhere that png format can not handle CMYK colorspace anyway, which I find odd (and plainly stupid IM(NS)HO) which would mean that converting to RGB and therefore using profiles is mandatory.
    May be you should check if the internal format of the png files claims it is RGB or CMYK (using ImageMagick's "identify" command for example).
    HTH
    JG

  • How to set up roaming profile on Macs using AD like in windows

    I can bind the workstations to the domain fine.. But can someone direct me to instructions of how to set up the roaming profiles ?
    What steps do I need on the server ? This is what I've done so far.
    I already have OU's for the departments and the users have a shared folder inside their department folder.... \\server\shared_folder\user
    I have done the usual things with AD as far as the profile settings on the windows server.
    Am currently running Mac OS 10.5 and above
    My windows AD runs on windows server 2008
    All my windows workstation are able to use roaming profile without a problem.
    So far i have tried the so many avenues including..
    Make sure the Mac systems are joined to the domain controller and an ADS user can log on successfully. Use "Directory Utility" under "Utilities" menu to join the system to the domain.
    Backup all the contents from /Users to the storage or somewhere locally.
    Configure automount - Go to "Utilities" -> "Directory Utility" - Select the domain and click "Show advanced options" - Click "Mounts" tab and add automount as mentioned below. Remote NFS URL: nfs://server_name/share_name/path/to/profile/directory Mount location: /Users Additional mount parameters: -P,-T Apply the settings and this will mount the remote shared folder or we can name it as Roaming Profile Space - under /Users directory
    Enable roaming profile - Go to "Utilities" -> "Directory Utility" - Select the domain and click "Show advanced options" - Click "Services" -> Select "Active Directory" and click "Show advanced option" - Click "User experience" tab and select the option "Create mobile account at login".
    Reboot the system and log in as any ADS user. The Roaming shared folder will be mounted and the user profile will be created on the shared folder
    Can anyone kindly assist me

    Hi Guys, anyone with the Soln...or Tips..Am waiting

  • How to add a new profile option in each responsibility?

    Dear all,
    I would like to add one profile option in some of the responsibilities. . .how can I do that?
    Best Regards,
    Amy

    Amy,
    Your question is best asked in the Oracle EBS General discussion forum. However, to set the value of a profile variable you would use FND_PROFILE.PUT ('ProfileName','Value');
    Hope this helps.
    Craig...

  • How to set the parameter selection *optional* for each subreport?

    Hi,
    I am using Crystal Reprots 11.
    I create 10 subreports, and each subreport contains a Parameters Field.
    The 10 subreports are put in 10 footer sections in increasing order, i.e. subreport1, subreport2, subreport3, ..., subreport10.
    When I use "Print Preview" to take a look at the whole report, CR prompts a "Edit Values" window for selecting parameter values for all 10 subreports.
    For example, if I only select parameter values for subreport1 and click "OK", 9 error messages on the "Edit Values" window come out above the selection list box of every other subreports (i.e. subreport2 ~ subreport10) showing that: 'The value is not valid'.
    Sometimes, I just want to review some specific subreports but not all.
    How should I do to set the parameter selection optional (not mandatory) for each subreport?
    Thank you in adavance.
    Edited by: Holdup on Feb 17, 2012 3:44 PM

    Hi,
    Here's how you can make the prompts optional (Assuming you're using CR 2008 or higher):
    1) Go into each subreport
    2) You should see the parameter in the Field Explorer. Right-click the name and select Edit > Look for an option called 'Optional Prompt'. Set it to true
    3) If you have a record selection in the subreport, then you need to modify the selection formula to something like this:
    if not(hasvalue({?Parameter_Name})) then True else = {?Parameter_Name}
    Hope this helps!
    -Abhilash

  • How to set which User Profile attribute is used for email messages?

    I am having a problem setting up User Profiles in SharePoint 2013. I have users that are both (1) Active Directory users authenticated using Windows Authentication, and (2) Active Directory users, existing in another distinct OU, authenticated via ADFS (active
    directory federation services).
    My problem is with the ADFS users. I want to have the users unique id be their logon email account ([email protected]), but want to populate their work email attribute with their "actual" or real email account.
    If I have an OU (External Users) and within that OU (XYZ Company Users), AND my domain is contoso.com, then I want to add a user such that they have a unique id in active directory ([email protected], but want their email address to be whatever
    it is (I.e. [email protected]).
    MY PROBLEM: I can setup the User Profile Synchronization service to map the properties perfectly, but when I I try to add/share a user in a SharePoint site, the user's account email ([email protected] is sent the message, not their "Work Email"
    ([email protected]).
    QUESTION: How do I get SharePoint to use the "Work Email" attribute (NOT the account email) of a User Profile when sending email messages?

    Okay, within Active Directory, the user's email IS set to
    [email protected] The "unique value" (Using the account logon name) works just fine. The problem is SharePoint. When I logon with another account and choose to share a site with this particular test user, the Email for sharing the site is sent to
    [email protected] (the account logon name), not
    [email protected] (the user's email address)
    How do I get SharePoint to actually use the email address of an AD user, and not use the account logon name when sending notifications?

Maybe you are looking for

  • Getting error message "Could not open a scratch file...

    ...because the file is locked. Use the "Properties" command in Windows explorer to unlock the file" I cannot open PS because of this error message.  I changed the scratch disk within Photoshop in the "Preferences" section and next time I opened PS (C

  • Adobe AIR on Flytouch3 superpad2?

    Hi, I'm new a new guy on this Forum I just receive a Flytouch 3 yesterday, I will use it to develop with adobe Air on it. But I can't install Air on it (it says 'application not installed'). It asked me for the permission and after it stopped. Also,

  • Incoming Email Subject Field length increase

    Hi, In CRM 7.0,I need to increase the incoming email Subject Field length ,When i try to modify UI configuration,Subject fields are not enabled for configuration (Other fields in the same screen are enabled for modifications).. Please give your input

  • Programming the BACK button from a list

    Hi, I have a program that utilizes a selection-screen, a customized screen, and a list (leave to list-processing) respectively. What i want to know is how to enable the back buttom from the list to immediately go to the selection-screen instead of th

  • Impact of missing a security update?

    Currently have the imac 2.4 GHz Intel Core 2 Duo processor, running on OS X 10.6.8. I was scanning through my software update logs (after completing the Security Update 2013- 006) and realized that along the way I somehow missed the Security Update 2