Table of Contents

Class BmpOptions

Namespace
Aspose.Imaging.ImageOptions
Assembly
Aspose.Imaging.dll

The API for BMP and DIB raster image format creation options provides developers with a versatile toolset for generating custom Bitmap (BMP) and Device Independent Bitmap (DIB) images. With this API, you can precisely define image characteristics such as bits per pixel, compression level and compression type, tailoring the output to meet specific requirements. This feature-rich API empowers developers to create high-quality, customized raster images with ease and flexibility for diverse applications.

public class BmpOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata
Inheritance
BmpOptions
Implements
Inherited Members

Constructors

BmpOptions()

Initializes a new instance of the BmpOptions class.

public BmpOptions()

BmpOptions(BmpOptions)

Initializes a new instance of the BmpOptions class.

public BmpOptions(BmpOptions bmpOptions)

Parameters

bmpOptions BmpOptions

The BMP options.

Properties

BitsPerPixel

Gets or sets the image bits per pixel count.

public int BitsPerPixel { get; set; }

Property Value

int

The image bits per pixel count.

Compression

Gets or sets the compression type. The default compression type is Bitfields, that allows saving a BmpImage with transparency.

public BitmapCompression Compression { get; set; }

Property Value

BitmapCompression

The compression type.