class final readonly Optionnel · pdftoolkit/pdf-to-html 0.8.4

PDF\Html\Reading\PngSampleEncoder
Exact PDF gray/RGB samples in legal PNG depths, with no colour transform or alpha approximation.

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

public function __construct(PDF\Html\Reading\ReadingBudget $budget)

Déclarée par PDF\Html\Reading\PngSampleEncoder · Voir le code ↗

Méthodes déclarées

encode()

public function encode(string $pixels, int $width, int $height, int $components, int $bits, bool $alpha = false, ?string $iccProfile = null): string

Déclarée par PDF\Html\Reading\PngSampleEncoder · Voir le code ↗