class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\ImageDictionaryTable87\BitsPerComponentEntry
ISO 32000-2:2020 EC3, table 87, /BitsPerComponent.

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Specification\SchemaEntry

Définition ISO 32000-2:2020 EC3

Tableau 87 · Additional entries specific to an image dictionary
§8.9.5.1 · page PDF 274

Original PDF au commit documenté ↗ · Métadonnées de la source au commit documenté ↗ · Errata publics ↗

Original conservé dans le dépôt du core. Inventaire des tableaux et contrôles sémantiques restent distincts.

Définitions communes : Table 5

Extrait normatif original en anglais.

/BitsPerComponent integer

(Required except for image masks and images that use the JPXDecode filter) The number of bits used to represent each colour component. Only a single value shall be specified; the number of bits shall be the same for all colour components. The value shall be 1, 2, 4, 8, or (from PDF 1.5) 16. If ImageMask is true, this entry is optional, but if specified, its value shall be 1. If the image stream uses a filter, the value of BitsPerComponent shall be consistent with the size of the data samples that the filter delivers. In particular, a CCITTFaxDecode or JBIG2Decode filter shall always deliver 1-bit samples, a RunLengthDecode or DCTDecode filter shall always deliver 8-bit samples, and an LZWDecode or FlateDecode filter shall deliver samples of a specified size if a predictor function is used. If the image stream uses the JPXDecode filter, this entry is optional and shall be ignored if present. The bit depth is determined by the PDF processor in the process of decoding the JPEG 2000 image.

Périmètre et limites PDF 2.0.

Construction

__construct()

Déclarée par PDF\Specification\Iso32000_2\Dictionary\ImageDictionaryTable87\BitsPerComponentEntry · Voir le code ↗

Méthodes héritées

3 méthodes des parents et contrats

definition()

public function definition(): PDF\Specification\EntryDefinition

Déclarée par PDF\Specification\SchemaEntry · Voir le code ↗

key()

public function key(): PDF\Syntax\Object\NameType

Déclarée par PDF\Syntax\Object\DictionaryObject\Entry · Voir le code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Déclarée par PDF\Syntax\Object\DictionaryObject\Entry · Voir le code ↗

Propriétés

Constantes