PDFsharp-net6

ImageHeader

Namespace: PdfSharp.BigGustave

The high level information about the image.

public struct ImageHeader

Inheritance ObjectValueTypeImageHeader

Properties

Width

The width of the image in pixels.

public int Width { get; }

Property Value

Int32

Height

The height of the image in pixels.

public int Height { get; }

Property Value

Int32

BitDepth

The bit depth of the image.

public byte BitDepth { get; }

Property Value

Byte

ColorType

The color type of the image.

public ColorType ColorType { get; }

Property Value

ColorType

CompressionMethod

The compression method used for the image.

public CompressionMethod CompressionMethod { get; }

Property Value

CompressionMethod

FilterMethod

The filter method used for the image.

public FilterMethod FilterMethod { get; }

Property Value

FilterMethod

InterlaceMethod

The interlace method used by the image..

public InterlaceMethod InterlaceMethod { get; }

Property Value

InterlaceMethod

Constructors

ImageHeader(Int32, Int32, Byte, ColorType, CompressionMethod, FilterMethod, InterlaceMethod)

Create a new ImageHeader.

ImageHeader(int width, int height, byte bitDepth, ColorType colorType, CompressionMethod compressionMethod, FilterMethod filterMethod, InterlaceMethod interlaceMethod)

Parameters

width Int32

height Int32

bitDepth Byte

colorType ColorType

compressionMethod CompressionMethod

filterMethod FilterMethod

interlaceMethod InterlaceMethod

Methods

ToString()

string ToString()

Returns

String