Rundiz\Image

Avif
in package

AVIF file information.

Tags
since
3.1.5

Table of Contents

Properties

$file  : string|null

Methods

__construct()  : mixed
WebP file information class.
avifInfo()  : array<string|int, mixed>
Get AVIF info.
checkWebPConstant()  : mixed
Check that AVIF constants are already define, if not then define it.

Properties

$file

protected string|null $file

File path.

Methods

__construct()

WebP file information class.

public __construct([string $file = '' ]) : mixed
Parameters
$file : string = ''

Path to WEBP file.

avifInfo()

Get AVIF info.

public avifInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>

Return associative array with keys: HEIGHT, WIDTH.

checkWebPConstant()

Check that AVIF constants are already define, if not then define it.

public checkWebPConstant() : mixed

        
On this page

Search results