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
| Constructor | Description |
|---|---|
| ImageSaveOptions(int format) | Initializes a new instance of the ImageSaveOptions class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| format | int | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | ImageBinarizationOptions |
setColorMode(int value)
public final void setColorMode(int value)
प्राप्त करता है या सेट करता है ColorMode(getColorMode/setColorMode(int)) आउटपुट छवि के लिए।
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
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:
| Parameter | Type | Description |
|---|---|---|
| value | int |
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:
| Parameter | Type | Description |
|---|---|---|
| value | float |
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:
| Parameter | Type | Description |
|---|---|---|
| value | int |