Methods Summary |
---|
public static void | addHandle(java.awt.color.ICC_Profile key, long handle)
profileHandles.put(key, new Long(handle));
|
public static native void | cmmCloseProfile(long profileID)
|
public static native long | cmmCreateMultiprofileTransform(long[] profileHandles, int[] renderingIntents)
|
public static native void | cmmDeleteTransform(long transformHandle)
|
public static native void | cmmGetProfile(long profileID, byte[] data)
|
public static native void | cmmGetProfileElement(long profileID, int signature, byte[] data)
|
public static native int | cmmGetProfileElementSize(long profileID, int signature)
|
public static native int | cmmGetProfileSize(long profileID)
|
public static native long | cmmOpenProfile(byte[] data)
|
public static native void | cmmSetProfileElement(long profileID, int tagSignature, byte[] data)
|
public static native void | cmmTranslateColors(long transformHandle, NativeImageFormat src, NativeImageFormat dest)
|
public static long | getHandle(java.awt.color.ICC_Profile key)
return profileHandles.get(key).longValue();
|
static void | loadCMM()
if (!isCMMLoaded) {
AccessController.doPrivileged(
new PrivilegedAction<Void>() {
public Void run() {
System.loadLibrary("lcmm"); //$NON-NLS-1$
return null;
}
} );
isCMMLoaded = true;
}
|
public static void | removeHandle(java.awt.color.ICC_Profile key)
profileHandles.remove(key);
|