SetaPDF_Core_Image_Gif_Block_AbstractBlock Class representing any block inside of a GIF.
File: /SetaPDF v2/Core/Image/Gif/Block/AbstractBlock.php
Class hierarchy
- SetaPDF_Core_Image_Gif_Block_AbstractBlock
Summary
Static Methods
createExtensionOrImageDescriptor()
public static SetaPDF_Core_Image_Gif_Block_AbstractBlock::createExtensionOrImageDescriptor (
SetaPDF_Core_Reader_Binary $reader
): bool|SetaPDF_Core_Image_Gif_Block_Extension_Application|SetaPDF_Core_Image_Gif_Block_Extension_Comment|SetaPDF_Core_Image_Gif_Block_Extension_GraphicControl|SetaPDF_Core_Image_Gif_Block_Extension_PlainText|SetaPDF_Core_Image_Gif_Block_ImageDescriptorCreates a new block instance (extension or image descriptor).
Parameters
- $reader : SetaPDF_Core_Reader_Binary
Exceptions
Throws SetaPDF_Core_Image_Exception
Methods
__construct()
abstract public SetaPDF_Core_Image_Gif_Block_AbstractBlock::__construct (
SetaPDF_Core_Reader_Binary $reader
)The constructor.
Parameters
- $reader : SetaPDF_Core_Reader_Binary