Browse Source

webp

pull/114/head
Lorenzo Yario 4 months ago
committed by Zankaria
parent
commit
46e61a71cf
  1. 11
      inc/image.php

11
inc/image.php

@ -497,6 +497,11 @@ class ImageBMP extends ImageBase {
} }
} }
class ImageWEBP extends ImageBase {
public function from() {
$this->image = @imagecreatefromwebp($this->src);
}
public function to($src) {
imagewebp($this->image, $src);
}
}

Loading…
Cancel
Save