ImageGear for Java
ImGearLoadOptions Class Members
Methods 

The following tables list the members exposed by ImGearLoadOptions.

Public Constructors
 NameDescription
Public ConstructorImGearLoadOptions ConstructorInitializes a new instance of the ImGearLoadOptions class object.  
Top
Public Methods
 NameDescription
Public MethodgetFiltersReturns filter settings to be used in a particular image loading operation.

If this property is not null, it overrides the global settings specified by ImGearFileFormats.getFilters.

The default value is null.

ImGearFileFilters

 
Public MethodgetFormatReturns the file format of an image to load, or enables format autodetection.

 
Public MethodgetParseXMPReturns a value indicating whether ImageGear shall parse XMP stream or provide it to the application as a single binary tag.

The default value is true.

 
Public MethodgetThumbnailLoadingReturns a value indicating whether to load image thumbnail instead of the actual image.

Use this value if you need to load an image thumbnail. This will only work for file formats that support storing a thumbnail, and when thumbnail is actually stored as a part of an image. Otherwise, ImageGear will throw ImGearException with error code com.accusoft.imagegear.core.ImGearErrorCodes.THUMBNAIL_NOT_PRESENT. In this case, load the entire image and create a thumbnail using com.accusoft.imagegear.processing.ImGearProcessing.createThumbnail method.

The default value is false.

 
Public MethodgetTilesToStitchReturns the tiles to be stitched.

The default value is an empty com.accusoft.imagegear.core.shapes.ImGearRectangle object.

 
Public MethodsetFiltersSets filter settings to be used in a particular image loading operation.

If this property is not null, it overrides the global settings specified by ImGearFileFormats.getFilters.

This property can be used in a multithreaded application, in order to use different filter control parameters in different threads.

The default value is null.

ImGearFileFilters

 
Public MethodsetFormatSets the file format of an image to load, or enables format autodetection.

Use this method when you need to bypass auto-detection and specify image format explicitly. Specifying ImGearFormats.UNKNOWN will force auto-detection.

The default value is ImGearFormats.UNKNOWN.

ImGearFormats

 
Public MethodsetParseXMPSets a value indicating whether ImageGear shall parse XMP stream or provide it to the application as a single binary tag.

The default value is true.

 
Public MethodsetThumbnailLoadingSets a value indicating whether to load image thumbnail instead of the actual image.

Use this property if you need to load an image thumbnail. This will only work for file formats that support storing a thumbnail, and when thumbnail is actually stored as a part of an image. Otherwise, ImageGear will throw ImGearException with error code com.accusoft.imagegear.core.ImGearErrorCodes.THUMBNAIL_NOT_PRESENT. In this case, load the entire image and create a thumbnail using com.accusoft.imagegear.processing.ImGearProcessing.createThumbnail method.

The default value is false.

 
Public MethodsetTilesToStitchSets the tiles to be stitched.

The default value is an empty com.accusoft.imagegear.core.shapes.ImGearRectangle object.

 
Top
See Also

Reference

ImGearLoadOptions Class
com.accusoft.imagegear.formats Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback