setasign\SetaPDF2\Core\IccProfile
Stream Class for handling a ICC profile stream
File: /SetaPDF v2/Core/IccProfile/Stream.php
Old class name (alias):
\SetaPDF_Core_IccProfile_Stream
Class hierarchy
Summary
Properties
$_parser
protected \SetaPDF_Core_IccProfile_Parser Stream::$_parser
A ICC profile parser instance
Static Methods
create()
Creates an ICC profile stream.
Parameters
- $document : \SetaPDF_Core_Document
- $iccProfile : \SetaPDF_Core_Reader_Binary|string
A path to a ICC profile or a reader object
Exceptions
Methods
__construct()
The constructor.
Parameters
- $indirectObject : \SetaPDF_Core_Type_IndirectObjectInterface
Exceptions
Throws \InvalidArgumentException
getAlternate()
public Stream::getAlternate (
void
): null|\SetaPDF_Core_ColorSpace|\SetaPDF_Core_ColorSpace_DeviceCmyk|\SetaPDF_Core_ColorSpace_DeviceGray|\SetaPDF_Core_ColorSpace_DeviceRgb|\SetaPDF_Core_ColorSpace_IccBased|\SetaPDF_Core_ColorSpace_SeparationGet the alternate color space.
Exceptions
getParser()
Get a parser instance for this ICC profile stream.