class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\ImageDictionaryTable87\ColorSpaceEntryISO 32000-2:2020 EC3, table 87, /ColorSpace.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 87 · Additional entries specific to an image dictionary
§8.9.5.1 · PDF page 273
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
Common definitions: Table 5
Original normative excerpt in English.
/ColorSpace name or array
(Required for images, except those that use the JPXDecode filter; not permitted 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 JPEG 2000 data shall be ignored. • If ColorSpace is absent, the colour space specifications in the JPEG 2000 data shall be used. The Decode array shall also be ignored unless ImageMask is true.
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\Iso32000_2\Dictionary\ImageDictionaryTable87\ColorSpaceEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\ImageDictionaryTable87\ColorSpaceEntry |
VARIABLE | | PDF\Specification\SchemaEntry |