class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\DCTDecodeFilterTable13\ColorTransformEntry
ISO 32000-2:2020 EC3, table 13, /ColorTransform.

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Specification\SchemaEntry

Définition ISO 32000-2:2020 EC3

Tableau 13 · Optional parameter for the DCTDecode filter
§7.4.8 · page PDF 64

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.

Extrait normatif original en anglais.

/ColorTransform integer

(Optional) A code specifying the transformation that shall be performed on the sample values: 0 No transformation. 1 If the image has three colour components, RGB values shall be transformed to YCbCr before encoding and from YCbCr to RGB after decoding. If the image has four components, CMYK values shall be transformed to YCbCrK before encoding and from YCbCrK to CMYK after decoding. This option shall be ignored if the image has one or two colour components. If the encoding algorithm has inserted the Adobe-defined marker code in the encoded data indicating the ColorTransform value, then the colours shall be transformed, or not, after the DCT decoding has been performed according to the value provided in the encoded data and the value of this dictionary entry shall be ignored. If the Adobe-defined marker code in the encoded data indicating the ColorTransform value is not present then the value specified in this dictionary entry will be used. If the Adobe-defined marker code (APP14) in the encoded data indicating the ColorTransform value is not present and this dictionary entry is not present in the filter dictionary then the default value of ColorTransform shall be 1 if the image has three components and 0 otherwise. Parameters that control the decoding process as well as other metadata are embedded within the encoded data stream using a notation referred to as "markers". When Adobe Systems Incorporated defined the use of JPEG images within PostScript language data streams, Adobe defined a particular set of rules pertaining to which markers are to be recognised, which are to be ignored and which are considered errors. A specific Adobe-defined marker (X’FFEE, sometimes called ‘APPE’ or ‘APP14’) was also introduced. The exact rules for producing and consuming DCT encoded data within PostScript language are provided in Adobe Technical Note #5116 and PDF DCT encoding shall exactly follow all those rules established by Adobe for the PostScript language.

Périmètre et limites PDF 2.0.

Construction

__construct()

Déclarée par PDF\Specification\Iso32000_2\Dictionary\DCTDecodeFilterTable13\ColorTransformEntry · 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