class final Core · roukmoute/pdf 0.7.1
PDF\Specification\Dictionary\ImageDictionaryTable89\ColorSpaceEntryTable 89, /ColorSpace; PDF type: name or array; Required for images, except those that use the JPXDecode filter; not allowed forbidden for image masks.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 89 · Additional Entries Specific to an Image Dictionary
ISO 32000-1:2008, §8.9.5.1 · PDF page 214 ↗
/ColorSpace name or array
(Required for images, except those that use the JPXDecode filter; not allowed forbidden for image masks) The colour space in which image samples shall be specified; it can be any type of colour space except Pattern. If the image uses the JPXDecode filter, this entry may be present: • If ColorSpace is present, any colour space specifications in the JPEG2000 data shall be ignored. • If ColorSpace is absent, the colour space specifications in the JPEG2000 data shall be used. The Decode array shall also be ignored unless ImageMask is true.
Qualifier: Required for images, except those that use the JPXDecode filter; not allowed forbidden for image masks
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NameType|PDF\Syntax\Object\ArrayType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and 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 |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Dictionary\ImageDictionaryTable89\ColorSpaceEntry |
TABLE | | PDF\Specification\Dictionary\ImageDictionaryTable89\ColorSpaceEntry |
VARIABLE | | PDF\Specification\SchemaEntry |