class final readonly Optional · pdftoolkit/pdf-to-html 0.8.4
PDF\Html\Reading\PngSampleEncoderExact PDF gray/RGB samples in legal PNG depths, with no colour transform or alpha approximation.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\Html\Reading\ReadingBudget $budget)Declared methods
encode()
public function encode(string $pixels, int $width, int $height, int $components, int $bits, bool $alpha = false, ?string $iccProfile = null): string