ImageGear for Java
ImGearCommonMetadata Class Methods

For a list of all members of this type, see ImGearCommonMetadata members.

Public Methods
 NameDescription
Public MethodgetColorProfileGets 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.

 
Public MethodgetCompressionGets compression of the file page from which the image was loaded.

Nullable (boxed) ImGearCompressions enumeration value.

If the page was created using com.accusoft.imagegear.core.ImGearRasterPage class or com.accusoft.imagegear.core.ImGearVectorPage class constructor, or using an image processing function, this method returns null (source file page compression is undefined).

com.accusoft.imagegear.formats.ImGearCompressionsT:com.accusoft.imagegear.core.ImGearVectorPage

 
Public MethodgetResolutionLayersCountGets the number of resolution layers in the image page from which ImGearPage object was loaded, or null if the format filter does not support the loading of different resolutions.

Integer value. See Also: com.accusoft.imagegear.core.ImGearPage class.

Currently, only PCD format uses this value.

 
Public MethodsetCompressionSets compression of the file page from which the image was loaded. ImGearCompressionscom.accusoft.imagegear.core.ImGearRasterPage  
Public MethodsetResolutionLayersCountSets the number of resolution layers in the image page from which ImGearPage object was loaded, or null if the format filter does not support the loading of different resolutions.

Integer value. See Also: com.accusoft.imagegear.core.ImGearPage class.

Currently, only PCD format uses this value.

 
Top
See Also

Reference

ImGearCommonMetadata Class
com.accusoft.imagegear.formats Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback