ImageGearJava Project > com.accusoft.imagegear.formats Package : ImGearSaveOptions Class |
The following tables list the members exposed by ImGearSaveOptions.
Name | Description | |
---|---|---|
ImGearSaveOptions Constructor | Initializes a new instance of the ImGearSaveOptions class object. |
Name | Description | |
---|---|---|
getConversionMode | Returns raster converter's conversion mode for saving.
The default value is | |
getEmbedColorProfile | Returns 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. | |
getFilters | Returns 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. | |
getForceColorspace | Returns 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 | |
getThumbnail | Gets access to thumbnail saving options.
| |
setConversionMode | Sets raster converter's conversion mode for saving.
The default value is | |
setEmbedColorProfile | Sets 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. | |
setFilters | Sets 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. | |
setForceColorspace | Sets 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 |