setasign\SetaPDF2\Core\IccProfile
Parser ICC profile parser
File: /SetaPDF v2/Core/IccProfile/Parser.php
Old class name (alias):
\SetaPDF_Core_IccProfile_Parser
This ICC profile parser is based on the specs ICC.1:2001-04 and ICC.1:2010. The parser actually only offers an access to the header data and description tag.
Class hierarchy
Summary
Methods
- __construct()
- _parseDescTag()
- _parseHeader()
- _parseTagTable()
- cleanUp()
- getClass()
- getColorSpace()
- getCreator()
- getDescription()
- getDescriptionData()
- getDeviceAttributes()
- getDeviceManufacturer()
- getDeviceModel()
- getFlags()
- getHeaderData()
- getNumberOfComponents()
- getPCS()
- getPreferredCMM()
- getPrimaryPlatform()
- getProfileSize()
- getReader()
- getVersion()
Properties
$_descriptionData
$_headerData
$_reader
The reader instance
$_tagsData
Information about tagged element data offset and size
Methods
__construct()
getDescription()
null $languageCode = null,
null $countryCode = null
Get description.
If the profile is of version 4 a language and country code can be passed to get a specific description entry.
To get an overview of all resolved description data see getDescriptionData().
Parameters
- $encoding : string
- $languageCode : null
- $countryCode : null
See
getDeviceManufacturer()
Get the Device manufacturer of the device for which this profile is created.
See
getVersion()
Get the profile version number.
A 4 byte string: Byte 0 = Major Revision in Binary-Coded Decimal Byte 1 = Minor Revision & Bug Fix Revision in each nibble in Binary-Coded Decimal Byte 2 + 3 = reserved, must be set to 0
Parameters
- $raw : bool