class final Core · roukmoute/pdf 0.6.2

PDF\Specification\Dictionary\SoftMaskImageDictionaryTable146
ISO 32000-1:2008, table 146: Additional entry in a soft-mask image dictionary.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaDictionary

Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Definition in the specification

Table 146 · Additional entry in a soft-mask image dictionary
ISO 32000-1:2008, §11.6.6 · PDF page 357 ↗

EntryPDF typeSource requirementTable
/LengthintegerRequired5
/Filtername or arrayOptional5
/DecodeParmsdictionary or arrayOptional5
/Ffile specificationOptional; PDF 1.25
/FFiltername or arrayOptional; PDF 1.25
/FDecodeParmsdictionary or arrayOptional; PDF 1.25
/DLintegerOptional; PDF 1.55
/TypenameOptional89
/SubtypenameRequired89
/WidthintegerRequired89
/HeightintegerRequired89
/ColorSpacename or arrayRequired for images, except those that use the JPXDecode filter; not allowed forbidden for image masks89
/BitsPerComponentintegerRequired except for image masks and images that use the JPXDecode filter89
/IntentnameOptional; PDF 1.189
/ImageMaskbooleanOptional89
/Maskstream or arrayOptional except for image masks; not allowed for image masks; PDF 1.389
/DecodearrayOptional89
/InterpolatebooleanOptional89
/AlternatesarrayOptional; PDF 1.389
/SMaskstreamOptional; PDF 1.489
/SMaskInDataintegerOptional for images that use the JPXDecode filter, meaningless otherwise; PDF 1.589
/NamenameRequired in PDF 1.0; optional otherwise89
/StructParentintegerRequired if the image is a structural content item; PDF 1.389
/IDbyte stringOptional; PDF 1.3; indirect reference preferred89
/OPIdictionaryOptional; PDF 1.289
/MetadatastreamOptional; PDF 1.489
/OCdictionaryOptional; PDF 1.589
/MattearrayOptional; PDF 1.4146

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\DictionaryObject\Entry ...$entries)

Declared by PDF\Specification\Dictionary\SoftMaskImageDictionaryTable146 · View the code ↗

Inherited methods

11 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

count()

public function count(): int

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

Declared by PDF\Specification\SchemaDictionary · View the code ↗

entries()

public function entries(): iterable
@return iterable<Entry>

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

get()

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

getIterator()

public function getIterator(): Traversable

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

has()

public function has(PDF\Syntax\Object\NameType|string $key): bool

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Specification\SchemaDictionary · View the code ↗

validate()

public function validate(): void
Checks unconditional requirements; conditional and inherited rules remain explicit.

Declared by PDF\Specification\SchemaDictionary · View the code ↗

with()

public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): static

Declared by PDF\Specification\SchemaDictionary · View the code ↗

without()

public function without(PDF\Syntax\Object\NameType|string $key): static

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

Constants