ImageSaveOptions

अंतर्वस्तु
[ ]

Inheritance: java.lang.Object, com.aspose.note.SaveOptions

public class ImageSaveOptions extends SaveOptions

Allows to specify additional options when rendering document pages to images.

Constructors

ConstructorDescription
ImageSaveOptions(int format)Initializes a new instance of the ImageSaveOptions class.

Methods

MethodDescription
getBinarizationOptions()छवि के बाइनराइज़ेशन के विकल्प प्राप्त करता है या सेट करता है।
getColorMode()प्राप्त करता है या सेट करता है ColorMode(getColorMode/setColorMode(int)) आउटपुट छवि के लिए।
getQuality()सहेजी गई छवि की गुणवत्ता निर्धारित करने वाला मान प्राप्त करता है।
getResolution()जनरेट की गई छवियों के लिए रिज़ॉल्यूशन प्राप्त करता है, डॉट्स प्रति इंच में।
getTiffCompression()Gets or sets the type of compression to use when saving generated images to the TIFF format.
setBinarizationOptions(ImageBinarizationOptions value)छवि के बाइनराइज़ेशन के विकल्प प्राप्त करता है या सेट करता है।
setColorMode(int value)प्राप्त करता है या सेट करता है ColorMode(getColorMode/setColorMode(int)) आउटपुट छवि के लिए।
setQuality(int value)Sets a value determining the quality of saved image.
setResolution(float value)Sets the resolution for the generated images, in dots per inch.
setTiffCompression(int value)Gets or sets the type of compression to use when saving generated images to the TIFF format.

ImageSaveOptions(int format)

public ImageSaveOptions(int format)

Initializes a new instance of the ImageSaveOptions class.

Parameters:

ParameterTypeDescription
formatintThe format in which the document is saved.

getBinarizationOptions()

public final ImageBinarizationOptions getBinarizationOptions()

छवि के बाइनराइज़ेशन के विकल्प प्राप्त करता है या सेट करता है।

Returns: ImageBinarizationOptions

getColorMode()

public final int getColorMode()

प्राप्त करता है या सेट करता है ColorMode(getColorMode/setColorMode(int)) आउटपुट छवि के लिए।

Returns: int

getQuality()

public final int getQuality()

Gets a value determining the quality of saved image. This value is passed to codec as System.Drawing.Imaging.Encoder.Quality parameter.


The range of useful values for the quality category is from 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. Zero would give you the lowest quality image and 100 the highest. The default value is 90.

Returns: int

getResolution()

public float getResolution()

जनरेट की गई छवियों के लिए रिज़ॉल्यूशन प्राप्त करता है, डॉट्स प्रति इंच में।


डिफ़ॉल्ट मान 96 है।

Returns: float

getTiffCompression()

public final int getTiffCompression()

Gets or sets the type of compression to use when saving generated images to the TIFF format.

Returns: int

setBinarizationOptions(ImageBinarizationOptions value)

public final void setBinarizationOptions(ImageBinarizationOptions value)

छवि के बाइनराइज़ेशन के विकल्प प्राप्त करता है या सेट करता है।

Parameters:

ParameterTypeDescription
valueImageBinarizationOptions

setColorMode(int value)

public final void setColorMode(int value)

प्राप्त करता है या सेट करता है ColorMode(getColorMode/setColorMode(int)) आउटपुट छवि के लिए।

Parameters:

ParameterTypeDescription
valueint

setQuality(int value)

public final void setQuality(int value)

सहेजी गई छवि की गुणवत्ता निर्धारित करने वाला मान सेट करता है। यह मान कोडेक को System.Drawing.Imaging.Encoder.Quality पैरामीटर के रूप में पास किया जाता है।


The range of useful values for the quality category is from 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. Zero would give you the lowest quality image and 100 the highest. The default value is 90.

Parameters:

ParameterTypeDescription
valueint

setResolution(float value)

public void setResolution(float value)

Sets the resolution for the generated images, in dots per inch.


The default value is 90.

Parameters:

ParameterTypeDescription
valuefloat

setTiffCompression(int value)

public final void setTiffCompression(int value)

Gets or sets the type of compression to use when saving generated images to the TIFF format.

Parameters:

ParameterTypeDescription
valueint