class final Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Jpeg2000\Codestream
One codestream owns its headers, tile parts, packet state and output buffers.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDFToolkit\Codecs\DecodeBudget $budget)

Declared by PDFToolkit\Codecs\Jpeg2000\Codestream · View the code ↗

Declared methods

decode()

public function decode(string $bytes, PDFToolkit\Codecs\ColorInformation $color = new ColorInformation()): PDFToolkit\Codecs\DecodedImage

Declared by PDFToolkit\Codecs\Jpeg2000\Codestream · View the code ↗