InlineImageInfo

Overview

InlineImageInfo is a class in Aspose.PDF FOSS for TypeScript.

A single BI … EI image drawn on a page, addressed by its position in the content stream that draws it.

This class declares 3 methods for InlineImageInfo objects in TypeScript programs. Available methods include: Decode, Remove, constructor. All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package. Properties: Bits, ColorSpace, Dict, Filter, Height, RawData, and 3 more.

Properties

NameTypeAccessDescription
dict: PdfDictReadGets the dict.
data: Uint8ArrayReadGets the data.
DictPdfDictReadGets the dict.
WidthnumberReadGets the width.
HeightnumberReadGets the height.
BitsnumberReadGets the bits.
ColorSpacestringReadGets the color space.
Filterstring | undefinedReadGets the filter.
RawDataUint8ArrayReadGets the raw data.

Methods

SignatureDescription
constructor(doc: Document, page: Page, Addr: ContentAddr, inline: { dict: PdfDict; data: Uint8Array })Calls constructor(doc, page, Addr, inline) on this InlineImageInfo instance.
Decode()Uint8ArrayDecoded samples, by the same rules ImageInfo.Decode applies.
Remove()Remove this image from the page: the BI … EI op and, where it forms one, the enclosing q [cm…] BI…EI Q placement group.