setasign\SetaPDF2\Core\Image\Gif\Block
LogicalScreenDescriptor Class representing a logical screen descriptor inside of a GIF.
File: /SetaPDF v2/Core/Image/Gif/Block/LogicalScreenDescriptor.php
Old class name (alias):
\SetaPDF_Core_Image_Gif_Block_LogicalScreenDescriptor
Class hierarchy
Summary
Properties
$backgroundColor
public int LogicalScreenDescriptor::$backgroundColor
The background color index.
$colorResolution
public int LogicalScreenDescriptor::$colorResolution
The color resolution.
Value used to hint the richness of the color table, even if entries are missing.
$colorTable
public ?array LogicalScreenDescriptor::$colorTable
The global color table.
$height
public int LogicalScreenDescriptor::$height
The image height.
$pixelAspectRatio
public string LogicalScreenDescriptor::$pixelAspectRatio
The pixel aspect ratio.
Factor used to compute an approximation.
$width
public int LogicalScreenDescriptor::$width
The image 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