ImageGear for Java
ImGearSaveOptions Class Members
Methods 

The following tables list the members exposed by ImGearSaveOptions.

Public Constructors
 NameDescription
Public ConstructorImGearSaveOptions ConstructorInitializes a new instance of the ImGearSaveOptions class object.  
Top
Public Methods
 NameDescription
Public MethodgetConversionModeReturns raster converter's conversion mode for saving.

The default value is ImGearRasterConversionModes.ANY.

ImGearRasterConversionModes

 
Public MethodgetEmbedColorProfileReturns a value indicating whether the color profile associated with image (or with image color space) shall be embedded into file being saved.

This option has effect only if:

The default value is true.

com.accusoft.imagegear.core.ImGearColorProfileManager

 
Public MethodgetFiltersReturns filter settings to be used in a particular image saving operation.

If return value is not null, it overrides the global settings specified by ImGearFileFormats.getFilters.

Return value 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 MethodgetForceColorspaceReturns the value indicating that images should only be saved in the specified color space.

The default value is com.accusoft.imagegear.core.ImGearColorSpaceIDs.NONE.

com.accusoft.imagegear.core.ImGearErrorCodescom.accusoft.imagegear.core.ImGearColorSpaceIDs

 
Public MethodgetThumbnailGets access to thumbnail saving options.

ImGearSaveThumbnailOptions class object. ImGearSaveThumbnailOptions

 
Public MethodsetConversionModeSets raster converter's conversion mode for saving.

The default value is ImGearRasterConversionModes.ANY.

ImGearRasterConversionModes

 
Public MethodsetEmbedColorProfileSets a value indicating whether the color profile associated with image (or with image color space) shall be embedded into file being saved.

This option has effect only if:

The default value is true.

com.accusoft.imagegear.core.ImGearColorProfileManager

 
Public MethodsetFiltersSets filter settings to be used in a particular image saving 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 MethodsetForceColorspaceSets the value indicating that images should only be saved in the specified color space.

Invoke this method to set specific color space to tell ImageGear use only this color space for image saving. If the file format supports this color space for saving, and other settings and control parameters allow saving to this color space, the image will be saved with the specified color space. Otherwise, ImageGear will throw an exception with com.accusoft.imagegear.core.ImGearErrorCodes.CANT_SAVE_FORMAT error code.

This mode can be used for conversion of image files from one color space to another, without having to store converted image in memory. To convert an image, load it into ImageGear, set ForceColorspace to desired color space, and save the image.

The default value is EnumSet.noneOf(ImGearColorSpaceIDs.class).

com.accusoft.imagegear.core.ImGearErrorCodes

 
Top
See Also

Reference

ImGearSaveOptions Class
com.accusoft.imagegear.formats Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback