SetaPDF_Core_Image_Gif_Block_ImageDescriptor Class representing an image descriptor inside of a GIF.
File: /SetaPDF v2/Core/Image/Gif/Block/ImageDescriptor.php
Class hierarchy
Summary
Properties
$colorTable
public null|array SetaPDF_Core_Image_Gif_Block_ImageDescriptor::$colorTable
The local color table.
If null, the global color table shall be used.
$height
public int SetaPDF_Core_Image_Gif_Block_ImageDescriptor::$height
The frame height.
$interlace
public bool SetaPDF_Core_Image_Gif_Block_ImageDescriptor::$interlace
Flag for interlacing.
$left
public int SetaPDF_Core_Image_Gif_Block_ImageDescriptor::$left
The frame x position from the left.
$top
public int SetaPDF_Core_Image_Gif_Block_ImageDescriptor::$top
The frame y position from the top.
$width
public int SetaPDF_Core_Image_Gif_Block_ImageDescriptor::$width
The frame width.
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()
public SetaPDF_Core_Image_Gif_Block_ImageDescriptor::__construct (
SetaPDF_Core_Reader_Binary $reader
)The constructor.
Parameters
- $reader : SetaPDF_Core_Reader_Binary
Exceptions
Throws SetaPDF_Core_Image_Exception