setasign\SetaPDF2\Core\Image
Image Base class for image handling
File: /SetaPDF v2/Core/Image/Image.php
Old class name (alias):
\SetaPDF_Core_Image
This class is responsible for getting the correct image type implementation for a desired image type.
Actually PNG and JPEG classes exist.
Class hierarchy
Summary
Constants
TYPE_GIF
TYPE_JPEG
TYPE_JPEG2000
Image type
TYPE_PNG
TYPE_TIFF
TYPE_UNKNOWN
Image type
Properties
$_binaryReader
protected \SetaPDF_Core_Reader_Binary Image::$_binaryReader
Binary Reader
Static Methods
get()
Get an image by a reader.
Parameters
- $reader : \SetaPDF_Core_Reader_ReaderInterface
The reader instance
Exceptions
Throws \setasign\SetaPDF2\NotImplementedException If the image type is not supported (supported types: JPEG, PNG, JPEG2000).