FilterContext Class

Definition

Everything a IStreamFilter may need beyond the bytes it decodes: its parameters, the stream it decodes, the means to resolve references and decode other streams of the same document, the limits, and the diagnostics sink.

public sealed class FilterContext

Remarks

ISO 32000-2 §7.3.8.2 (Table 5) and §7.4. A document creates one context per filter in a stream's chain. A context created with the public constructor stands alone: it decodes other streams with the default filters, resolves no references, and keeps its diagnostics in Diagnostics only, which is how a filter is tested or used outside a document.

Image codecs read the image's entries (Width, Height, BitsPerComponent, ColorSpace, Decode) from StreamDictionary and decode auxiliary streams such as JBIG2Globals with DecodeStream(CosStream).

A context belongs to one decode call on one thread.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (6)

Methods (3)