add webp image support

This commit is contained in:
Brad Dutton
2022-05-13 14:24:45 -07:00
parent e20bd74161
commit 7b71247e03
2 changed files with 4 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ class Image_Core {
IMAGETYPE_GIF => 'gif',
IMAGETYPE_JPEG => 'jpg',
IMAGETYPE_PNG => 'png',
IMAGETYPE_WEBP => 'webp',
IMAGETYPE_TIFF_II => 'tiff',
IMAGETYPE_TIFF_MM => 'tiff',
);
@@ -498,4 +499,4 @@ class Image_Core {
return TRUE;
}
} // End Image
} // End Image