From bbfd895c4c4114c173aa1fd2e17c30b7465c4346 Mon Sep 17 00:00:00 2001 From: Mikael Roos <mikael.t.h.roos@gmail.com> Date: Mon, 8 Aug 2016 16:49:29 +0200 Subject: [PATCH] webp implemented but fail to verify --- CImage.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CImage.php b/CImage.php index 183661f..1582c79 100644 --- a/CImage.php +++ b/CImage.php @@ -949,9 +949,7 @@ class CImage $this->fileType = exif_imagetype($file); if ($this->fileType === false) { if (function_exists("imagecreatefromwebp")) { - die("before create webp " . $file); $webp = imagecreatefromwebp($file); - die("after create webp " . $file); if ($webp !== false) { $this->width = imagesx($webp); $this->height = imagesy($webp);