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.

-- 
View this message in context: 
http://www.nabble.com/Problem-with-setting-outputintent-tf2224908.html#a6165156
Sent from the iText - General forum at Nabble.com.


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to