BmpOptions Class

Summary: The bmp file format creation options.

Module: aspose.psd.imageoptions

Full Name: aspose.psd.imageoptions.BmpOptions

Inheritance: ImageOptionsBase

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
BmpOptions()Initializes a new instance of the BmpOptions class.
BmpOptions(bmp_options)Initializes a new instance of the BmpOptions class.

Properties

NameTypeAccessDescription
bits_per_pixelintr/wGets or sets the image bits per pixel count.
buffer_size_hintintr/wGets or sets the buffer size hint which is defined max allowed size for all internal buffers.
compressionBitmapCompressionr/wGets or sets the compression.
default_replacement_fontstringr/wGets 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 });
disposedboolrGets a value indicating whether this instance is disposed.
full_frameboolr/wGets or sets a value indicating whether [full frame].
multi_page_optionsMultiPageOptionsr/wThe multipage options
paletteIColorPaletter/wGets or sets the color palette.
resolution_settingsResolutionSettingr/wGets or sets the resolution settings.
sourceSourcer/wGets or sets the source to create image in.
vector_rasterization_optionsVectorRasterizationOptionsr/wGets or sets the vector rasterization options.
xmp_dataXmpPacketWrapperr/wGets or sets the XMP metadata container.

Methods

NameDescription
clone()Clones this instance.

Constructor: BmpOptions()

 BmpOptions() 

Initializes a new instance of the BmpOptions class.

Constructor: BmpOptions(bmp_options)

 BmpOptions(bmp_options) 

Initializes a new instance of the BmpOptions class.

Parameters:

ParameterTypeDescription
bmp_optionsBmpOptionsThe BMP options.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
ImageOptionsBaseReturns shallow copy of this instance