forked from GithubBackups/vichan
webp
This commit is contained in:
parent
0e2795d355
commit
77bec421d9
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user