class final readonly Core · roukmoute/pdf 0.7.1

PDF\Syntax\Filters\PredictorLayout
Explicit interleaved PDF sample rows, not a parser for PNG or TIFF files.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Syntax\Object\IntegerType $colors = new IntegerType(1), PDF\Syntax\Object\IntegerType $columns = new IntegerType(1), PDF\Syntax\Filters\PredictorBitsPerComponent $bitsPerComponent = PDF\Syntax\Filters\PredictorBitsPerComponent::Eight)

Declared by PDF\Syntax\Filters\PredictorLayout · View the code ↗

Declared methods

parameters()

public function parameters(PDF\Syntax\Object\IntegerType $predictor): PDF\Syntax\Object\DictionaryType

Declared by PDF\Syntax\Filters\PredictorLayout · View the code ↗

validateBytes()

public function validateBytes(string $bytes): void

Declared by PDF\Syntax\Filters\PredictorLayout · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Syntax\Filters\PredictorBitsPerComponent $bitsPerComponentPDF\Syntax\Filters\PredictorLayout
public readonly int $bytesPerPixelPDF\Syntax\Filters\PredictorLayout
public readonly int $bytesPerRowPDF\Syntax\Filters\PredictorLayout
public readonly PDF\Syntax\Object\IntegerType $colorsPDF\Syntax\Filters\PredictorLayout
public readonly PDF\Syntax\Object\IntegerType $columnsPDF\Syntax\Filters\PredictorLayout
public readonly int $samplesPerRowPDF\Syntax\Filters\PredictorLayout