imageavif
imageavif
gd.image.output
bool **imageavif** GdImage $image $file int $quality int $speed
Outputs or saves a Raster image from the given .
image
filegd.image.path
quality
is optional, and ranges from 0 (worst quality, smaller file)
to 100 (best quality, larger file).
If is provided, the default value is used.
quality``-1``52
speed
is optional, and ranges from 0 (slow, smaller file)
to 10 (fast, larger file).
If is provided, the default value is used.
speed``-1``6
return.success
Throws a if
or is invalid.
ValueError``quality``speed
imagepng``imagewbmp``imagejpeg``imagetypes