1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-20 04:31:24 +02:00
This commit is contained in:
Michiel Vugteveen
2021-07-23 20:46:42 +02:00
parent 3ddcc2d55d
commit e7baf44b6f

View File

@@ -57,6 +57,11 @@ class Encoder extends \Intervention\Image\AbstractEncoder
return $buffer; return $buffer;
} }
/**
* Processes and returns encoded image as WEBP string
*
* @return string
*/
protected function processWebp() protected function processWebp()
{ {
if ( ! function_exists('imagewebp')) { if ( ! function_exists('imagewebp')) {
@@ -146,7 +151,7 @@ class Encoder extends \Intervention\Image\AbstractEncoder
"AVIF format is not supported by Gd Driver." "AVIF format is not supported by Gd Driver."
/** /**
* Processes and returns encoded image as HEIC string * Processes and returns encoded image as HEIC string
* *
* @return string * @return string