Table of Contents

Class XObjectImage

Namespace
UglyToad.PdfPig.XObjects
Assembly
UglyToad.PdfPig.dll

A PostScript image XObject.

public class XObjectImage : IPdfImage
Inheritance
XObjectImage
Implements
Inherited Members

Properties

BitsPerComponent

public int BitsPerComponent { get; }

Property Value

int

Bounds

public PdfRectangle Bounds { get; }

Property Value

PdfRectangle

ColorSpaceDetails

public ColorSpaceDetails ColorSpaceDetails { get; }

Property Value

ColorSpaceDetails

Decode

public IReadOnlyList<decimal> Decode { get; }

Property Value

IReadOnlyList<decimal>

HeightInSamples

public int HeightInSamples { get; }

Property Value

int

ImageDictionary

public DictionaryToken ImageDictionary { get; }

Property Value

DictionaryToken

Interpolate

public bool Interpolate { get; }

Property Value

bool

IsImageMask

public bool IsImageMask { get; }

Property Value

bool

IsInlineImage

public bool IsInlineImage { get; }

Property Value

bool

IsJpxEncoded

The JPX filter encodes data using the JPEG2000 compression method. A JPEG2000 data stream allows different versions of the image to be decoded allowing for thumbnails to be extracted.

public bool IsJpxEncoded { get; }

Property Value

bool

RawBytes

public IReadOnlyList<byte> RawBytes { get; }

Property Value

IReadOnlyList<byte>

RenderingIntent

public RenderingIntent RenderingIntent { get; }

Property Value

RenderingIntent

WidthInSamples

public int WidthInSamples { get; }

Property Value

int

Methods

ToString()

public override string ToString()

Returns

string

TryGetBytes(out IReadOnlyList<byte>)

public bool TryGetBytes(out IReadOnlyList<byte> bytes)

Parameters

bytes IReadOnlyList<byte>

Returns

bool

TryGetPng(out byte[])

public bool TryGetPng(out byte[] bytes)

Parameters

bytes byte[]

Returns

bool