imagewebp
imagewebp
(PHP 5 >= 5.5.0, PHP 7)
imagewebp — Output a WebP image to browser or file
Description
bool imagewebp ( resource $image , mixed $to [, int $quality = 80 ] )
Outputs or save an WebP version of the given image
.
Parameters
-
image
-
An image resource, returned by one of the image creation functions, such as imagecr