webp
This commit is contained in:
@@ -496,3 +496,12 @@ class ImageBMP extends ImageBase {
|
|||||||
imagebmp($this->image, $src);
|
imagebmp($this->image, $src);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class ImageWEBP extends ImageBase {
|
||||||
|
public function from() {
|
||||||
|
$this->image = @imagecreatefromwebp($this->src);
|
||||||
|
}
|
||||||
|
public function to($src) {
|
||||||
|
imagewebp($this->image, $src);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user