enum final Core · roukmoute/pdf 0.6.2

PDF\Syntax\Filters\PredictorBitsPerComponent
Table 8 permits 1/2/4/8 bits, and 16 bits from PDF 1.5.

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

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

from()

public static function from(string|int $value): static

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

tryFrom()

public static function tryFrom(string|int $value): ?static

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

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Syntax\Filters\PredictorBitsPerComponent
public readonly int $valuePDF\Syntax\Filters\PredictorBitsPerComponent

Enum cases

  • One = 1
  • Two = 2
  • Four = 4
  • Eight = 8
  • Sixteen = 16