ImageGearJava Project > com.accusoft.imagegear.formats Package > ImGearCommonMetadata Class : getColorProfile Method |
This method returns the color profile data of the file page from which the image was loaded. It returns null if the file page did not contain a profile or if the format filter does not support the loading of color profiles. This method also returns null (source file page color profile is undefined) if the page was created using a com.accusoft.imagegear.core.ImGearRasterPage class or com.accusoft.imagegear.core.ImGearVectorPage class constructor, or using an image processing function.
Note:This method is not updated during image conversions such as profile or colorspace conversions.
On image writing, ImageGear ignores this value, and uses the profile attached to the image DIB.
public byte[] getColorProfile() |