1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-11 02:24:15 +02:00

test support for webp images

This commit is contained in:
Mikael Roos
2016-08-08 16:13:51 +02:00
parent 1e5de9d225
commit 3d0b25abe0
5 changed files with 90 additions and 12 deletions

View File

@@ -4,3 +4,8 @@ define("CIMAGE_VERSION", "v0.7.13 (2016-08-08)");
// For CRemoteImage
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
// Image type IMG_WEBP is only defined from 5.6.25
if (!defined("IMG_WEBP")) {
define("IMG_WEBP", -1);
}