JpegOptions Class
Contents
[
Hide
]Summary: The jpeg file format create options.
Module: aspose.psd.imageoptions
Full Name: aspose.psd.imageoptions.JpegOptions
Inheritance: ImageOptionsBase
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
JpegOptions() | Initializes a new instance of the JpegOptions class. |
JpegOptions(jpeg_options) | Initializes a new instance of the JpegOptions class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
bits_per_channel | byte | r/w | Gets or sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel. |
buffer_size_hint | int | r/w | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
cmyk_color_profile | StreamSource | r/w | The destination CMYK color profile for CMYK jpeg images. Use for saving images. Must be in pair with RGBColorProfile for correct color conversion. |
color_type | JpegCompressionColorMode | r/w | Gets or sets the color type for jpeg image. |
comment | string | r/w | Gets or sets the jpeg file comment. |
compression_type | JpegCompressionMode | r/w | Gets or sets the compression type. |
default_memory_allocation_limit | int | r/w | Gets or sets the default memory allocation limit. |
default_replacement_font | string | r/w | Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). To take proper name of default font can be used next code snippet: System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection(); System.Drawing.FontFamily families = col.Families; string defaultFontName = families[0].Name; PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName }); |
disposed | bool | r | Gets a value indicating whether this instance is disposed. |
exif_data | JpegExifData | r/w | Get or set exif data container |
full_frame | bool | r/w | Gets or sets a value indicating whether [full frame]. |
horizontal_sampling | byte | r/w | Gets or sets the horizontal subsamplings for each component. |
jfif | JFIFData | r/w | Gets or sets the jfif. |
jpeg_ls_allowed_lossy_error | int | r/w | Gets or sets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification). |
jpeg_ls_interleave_mode | JpegLsInterleaveMode | r/w | Gets or sets the JPEG-LS interleave mode. |
jpeg_ls_preset | JpegLsPresetCodingParameters | r/w | Gets or sets the JPEG-LS preset parameters. |
multi_page_options | MultiPageOptions | r/w | The multipage options |
palette | IColorPalette | r/w | Gets or sets the color palette. |
preblend_alpha_if_present | bool | r/w | Gets or sets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present. |
quality | int | r/w | Gets or sets image quality. |
rd_opt_settings | RdOptimizerSettings | r/w | Gets or sets the RD optimizer settings. |
resolution_settings | ResolutionSetting | r/w | Gets or sets the resolution settings. |
resolution_unit | ResolutionUnit | r/w | Gets or sets the resolution unit. |
rgb_color_profile | StreamSource | r/w | The destination RGB color profile for CMYK jpeg images. Use for saving images. Must be in pair with CMYKColorProfile for correct color conversion. |
sample_rounding_mode | SampleRoundingMode | r/w | Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value. |
scaled_quality | int | r | The scaled quality. |
source | Source | r/w | Gets or sets the source to create image in. |
vector_rasterization_options | VectorRasterizationOptions | r/w | Gets or sets the vector rasterization options. |
vertical_sampling | byte | r/w | Gets or sets the vertical subsamplings for each component. |
xmp_data | XmpPacketWrapper | r/w | Gets or sets the XMP metadata container. |
Methods
Name | Description |
---|---|
clone() | Clones this instance. |
Constructor: JpegOptions()
JpegOptions()
Initializes a new instance of the JpegOptions class.
Constructor: JpegOptions(jpeg_options)
JpegOptions(jpeg_options)
Initializes a new instance of the JpegOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
jpeg_options | JpegOptions | The JPEG options. |
Method: clone()
clone()
Clones this instance.
Returns
Type | Description |
---|---|
ImageOptionsBase | Returns shallow copy of this instance |