Problem with setting outputintent

View: New views
2 Messages — Rating Filter:   Alert me  

Problem with setting outputintent

by GaneshPrakhya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bruno,

I am trying to set the outputintent to my document for creating PDFx. Here is my code.

public static final String iccProfileFileName = "C:\\WINDOWS\\system32\\spool\\drivers\\color\\USWebCoatedSWOPv2.icc";
ICC_Profile iccProfile = ICC_Profile.getInstance(iccProfileFileName);
byte[] profile = iccProfile.getData();
writer.setOutputIntents("Custom", "SWOP CGATS TR 001-1995", "http:\\www.color.org", "USWebCoatedSWOPv2.icc", profile);

This throwing NullPointerException. What will be the possible cause for this.

My requirement is to set the outputintent for my target document in order to be compliant for PDFx.

Thanks & Regards,
Ganesh.

Re: Problem with setting outputintent

by Bruno Lowagie (iText) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GaneshPrakhya wrote:

>Hi Bruno,
>
>I am trying to set the outputintent
>
My knowledge about outputintent is very limited.
I suggest that you ask somebody else, or better still:
consult the PDF Reference (that's what I would do
if I had the time to answer your question).
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions