Q:Hi and thanks for a great product.
I’m trying to update from version 4.5 to 4.8 and I have a question.
In version 4.5 I used (in Java on Linux 64 bit):
PDFNet.setColorManagement(true) to use own color management, but in
the new version the setColorManagement function expects a int instead
of Boolean as argument.
What int value should I use to get the same result as earlier?
Also is the 4.8 version official and is it ready for production use?
A: On Linux you can pass one of the following two values as an
argument to PDFNet.setColorManagement(...):
public static final int e_lcms = 0 // Little CMS
public static final int e_no_cms = 2 // No CMS
On Windows you can aslo use:
public static final int e_no_cms = 1 // ICM2 (Windows Only)
Which will select Windows ICM2 for color management
Is the 4.8 version official and is it ready for production use?
PDFNet 4.8 is ready for production use.