class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\ImageDictionaryTable87\SMaskInDataEntryISO 32000-2:2020 EC3, table 87, /SMaskInData.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 275
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.
/SMaskInData integer
(Optional for images that use the JPXDecode filter, meaningless otherwise; PDF 1.5) A code specifying how soft-mask information (see 11.6.5.2, "Soft- mask images") encoded with image samples shall be used: 0 If present, encoded soft-mask image information shall be ignored. 1 The image’s data stream includes encoded soft-mask values. A PDF processor shall create a soft-mask image from the information to be used as a source of mask shape or mask opacity in the transparency imaging model. 2 The image’s data stream includes colour channels that have been premultiplied with an opacity channel; the image data also includes the opacity channel. A PDF processor shall create a soft-mask image from the opacity channel information to be used as a source of mask shape or mask opacity in the transparency model. If this entry has a non-zero value, SMask shall not be specified. See also 7.4.9, "JPXDecode filter". NOTE 2 Interactions between SMask, SMaskInData and the current soft mask in the graphics state are set out in clause 11.6.4.3, "Mask shape and opacity". Default value: 0.
Construction
__construct()
public function __construct(PDF\Syntax\Object\IntegerType|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\SMaskInDataEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\ImageDictionaryTable87\SMaskInDataEntry |
VARIABLE | | PDF\Specification\SchemaEntry |