SetaPDF_Core_IccProfile_Stream Class for handling a ICC profile stream

File: /SetaPDF v2/Core/IccProfile/Stream.php

Class hierarchy

Summary

Properties

$_indirectObject

$_parser


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

Throws SetaPDF_Core_Exception


Methods

__construct()

_getDictionary()

Get the stream dictionary.

Exceptions

Throws SetaPDF_Core_Type_Exception

cleanUp()

Release resources.

getColorComponents()

Get the color component count.

Exceptions

Throws SetaPDF_Core_Type_Exception

getIndirectObject()

getParser()

Get a parser instance for this ICC profile stream.

Exceptions

Throws SetaPDF_Core_Exception

Throws SetaPDF_Core_Type_Exception

getStreamObject()

setAlternate()

Set the alternate color space.

Parameters
$colorSpace : SetaPDF_Core_ColorSpace
 
Exceptions

Throws SetaPDF_Core_Type_Exception