class final Core · roukmoute/pdf 0.6.1
PDF\Specification\Dictionary\DCTDecodeFilterTable13\ColorTransformEntryTable 13, /ColorTransform; PDF type: integer; Optional.Héritage et contrats
Parent : PDF\Specification\SchemaEntry
Définition dans la norme
Tableau 13 · Optional parameter for the DCTDecode filter
ISO 32000-1:2008, §7.4.9 · page PDF 43 ↗
/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 YUV before encoding and from YUV to RGB after decoding. If the image has four components, CMYK values shall be transformed to YUVK before encoding and from YUVK 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 markera 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 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.
Qualificateur : Optional
Les descriptions conditionnelles restent traçables. La présence d’une définition ne réalise pas à elle seule un codec, une signature ou tous les traitements du format. Lire la couverture.
Construction
__construct()
public function __construct(PDF\Syntax\Object\IntegerType|PDF\Syntax\Object\IndirectReference $value)Méthodes héritées
3 méthodes des parents et contrats
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypePropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constantes
| Nom | Valeur PHP | Provenance |
|---|---|---|
KEY | | PDF\Specification\Dictionary\DCTDecodeFilterTable13\ColorTransformEntry |
TABLE | | PDF\Specification\Dictionary\DCTDecodeFilterTable13\ColorTransformEntry |
VARIABLE | | PDF\Specification\SchemaEntry |