[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Indexed8bppBitmap

Indexed8bppBitmap Class

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

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

Constructors

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

Initializes a new instance of the Indexed8bppBitmap class.

Properties

Name Description
ColorMap

Gets the associated lookup table with 256 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 Indexed8bppBitmap has been disposed of.

this[int, int]

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

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.

Methods

Name Description
ApplyLicenseKey(string)

Applies a license key to an instance of Indexed8bppBitmap.

Clear(int)

Clears the Indexed8bppBitmap with the specified lookup table index (from 0 to 255).

Clear(int, Rectangle)

Clears the Indexed8bppBitmap with the specified lookup table index (from 0 to 255).

Clip(Rectangle)

Creates a new Indexed8bppBitmap with a fragment of the image.

Clone(bool)

Creates a new Indexed8bppBitmap 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 Indexed8bppBitmap.

ToGcBitmap(GcBitmap, bool)

Copies the image into an existing instance of GcBitmap.