Problem with setting outputintent
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.