class final readonly Optional · pdftoolkit/pdf-images 0.2.3

PDF\Images\PngScanlineDecoder
Reconstructs PNG filters on bytes, including packed samples and 16-bit components.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

decode()

public function decode(string $filtered, PDF\Document\Images\ImageDimensions $dimensions, PDF\Images\PngColorType $colorType, int $depth = 8): string

Declared by PDF\Images\PngScanlineDecoder · View the code ↗