[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Indexed4bppBitmap

Indexed4bppBitmap Class

Represents a palette-color image with 4 bits per pixel.

Inheritance
Indexed4bppBitmap
Implements
Namespace: GrapeCity.Documents.Imaging
Assembly: DS.Documents.Imaging.dll
Syntax
public class Indexed4bppBitmap : IImage, IDisposable
Public Class Indexed4bppBitmap
    Implements IImage, IDisposable

Constructors

Name Description
Indexed4bppBitmap(int, int, bool, bool, bool, float, float)

Initializes a new instance of the Indexed4bppBitmap class.

Properties

Name Description
ColorMap

Gets the associated lookup table with 16 Red-Green-Blue[-Alpha] palette entries.

DpiX

Gets the horizontal dpi of the bitmap.

DpiY

Gets the vertical dpi of the bitmap.

ExifProfile

Gets or sets an instance of ExifProfile with Exif metadata of the image.

IccProfileData

Gets or sets the raw ICC profile data.

IsDisposed

Gets a value indicating whether the Indexed4bppBitmap has been disposed of.

this[int, int]

Gets or sets a lookup table index (from 0 to 15) at the specified coordinates.

LowerBitsFirst

Gets or sets a value specifying whether pixels with lower column indices are stored in the lower-order bit tetrads of the byte.

Setting this property causes an update to the pixel data.

Opaque

Gets or sets a value indicating whether the alpha channel of the image should be ignored.

PixelHeight

Gets the pixel height of the image.

PixelWidth

Gets the pixel width of the image.

Premultiplied

Gets or sets a value indicating if the color channels for all pixels are premultiplied by the alpha channel.

RawData

Gets a pointer to the internal binary data.

Rotation

Gets the flip and rotate transformations that must be applied to the image.

ScanLineLength

Gets the number of bytes in one scan line.

Methods

Name Description
ApplyLicenseKey(string)

Applies a license key to an instance of Indexed4bppBitmap.

Clear(int)

Clears the Indexed4bppBitmap with the specified lookup table index (from 0 to 15).

Clear(int, Rectangle)

Clears the Indexed4bppBitmap with the specified lookup table index (from 0 to 15).

Clip(Rectangle)

Creates a new Indexed4bppBitmap with a fragment of the image.

Clone(bool)

Creates a new Indexed4bppBitmap with a copy of the image.

CompactPalette(bool)

Compacts the image palette to 8 bits per color channel and returns the palette as an array of 32-bit ARGB values.

Dispose()

Clean up any resources being used.

Dispose(bool)

Performs cleanup operations on managed and unmanaged resources.

SetDpi(float)

Changes the physical resolution of the image.

SetDpi(float, float)

Changes the physical resolution of the image.

ToGcBitmap()

Creates an instance of the GcBitmap class from the current Indexed4bppBitmap.

ToGcBitmap(GcBitmap, bool)

Copies the image into an existing instance of GcBitmap.