Req #65038 [Opn]: IMAGETYPE_WEBP constant missing

From: Date: Wed, 03 Aug 2016 03:47:58 +0000
Subject: Req #65038 [Opn]: IMAGETYPE_WEBP constant missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202851@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65038&edit=1 ID: 65038 Updated by: kalle@php.net Reported by: david at admin dot amateri dot cz Summary: IMAGETYPE_WEBP constant missing Status: Open Type: Feature/Change Request -Package: EXIF related +Package: GetImageSize related Operating System: CentOS 6 PHP Version: 5.5.0RC3 Block user comment: N Private report: N New Comment: Changing the category here to be "GetImageSize" as internally exif_imagetype() re-uses an internal function we use for GetImageSize(), and exposes it to userland, despite not having anything exif related code in it. Previous Comments: ------------------------------------------------------------------------ [2016-06-10 08:13:20] archon810 at gmail dot com I just spent an hour trying to figure out why webp isn't working in getimagesize only to eventually arrive at this bug. Please add support for it. ------------------------------------------------------------------------ [2016-01-15 12:15:30] benjamin dot morel at gmail dot com +1 for WEBP support in getimagesize(), please! WEBP is becoming increasingly popular, and getimagesize() is so handy to get image information without having to load the whole file using Imagick, for example. ------------------------------------------------------------------------ [2015-08-03 14:43:13] enumag at gmail dot com Also webp should be supported by getimagesize, getimagesizefromstring, image_type_to_extension and image_type_to_mime_type. ------------------------------------------------------------------------ [2013-06-14 10:20:03] david at admin dot amateri dot cz Description: ------------ There is no IMAGETYPE_WEBP constant returning from exif_imagetype, but there is webp support since v5.5. You should add it. Thank you. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65038&edit=1

« previous php.bugs (#202851) next »