setasign\SetaPDF2\Core\Image\Gif\Filter

Interlace Class to apply interlacing.

File: /SetaPDF v2/Core/Image/Gif/Filter/Interlace.php
Old class name (alias): \SetaPDF_Core_Image_Gif_Filter_Interlace

Class hierarchy

Summary

Properties

$_height

private int Interlace::$_height

Frame height.

$_pixels

private array Interlace::$_pixels

The input pixels

$_width

private int Interlace::$_width

Frame width.


Methods

__construct()

public Interlace::__construct (
array $pixels,
int $width,
int $height
)

The constructor.

Parameters
$pixels : array
 
$width : int
 
$height : int
 

uncompress()

public Interlace::uncompress (
void
): array

Uncompresses the LZW data of a GIF image and applies interlacing.