setasign\SetaPDF2\Core\Image\Gif\Block
ImageDescriptor Class representing an image descriptor inside of a GIF.
File: /SetaPDF v2/Core/Image/Gif/Block/ImageDescriptor.php
Old class name (alias):
\SetaPDF_Core_Image_Gif_Block_ImageDescriptor
Class hierarchy
Summary
Properties
$colorTable
public ?array ImageDescriptor::$colorTable
The local color table.
If null, the global color table shall be used.
$height
public int ImageDescriptor::$height
The frame height.
$interlace
public bool ImageDescriptor::$interlace
Flag for interlacing.
$left
public int ImageDescriptor::$left
The frame x position from the left.
$top
public int ImageDescriptor::$top
The frame y position from the top.
$width
public int ImageDescriptor::$width
The frame width.
Static Methods
createExtensionOrImageDescriptor()
public static 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