ImageGear for Java
getColorProfile Method
Gets color profile data of the file page from which the image was loaded, or null if the format filter does not support loading of color profiles.

Byte array value.

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.

Syntax
public byte[] getColorProfile()
See Also

Reference

ImGearCommonMetadata Class
ImGearCommonMetadata Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback