Req #65038 [Com]: IMAGETYPE_WEBP constant missing

From: Date: Fri, 15 Jan 2016 12:15:32 +0000
Subject: Req #65038 [Com]: IMAGETYPE_WEBP constant missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198676@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
 Comment by:         benjamin dot morel at gmail dot com
 Reported by:        david at admin dot amateri dot cz
 Summary:            IMAGETYPE_WEBP constant missing
 Status:             Open
 Type:               Feature/Change Request
 Package:            EXIF related
 Operating System:   CentOS 6
 PHP Version:        5.5.0RC3
 Block user comment: N
 Private report:     N

 New Comment:

+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.


Previous Comments:
------------------------------------------------------------------------
[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


Thread (16 messages)

« previous php.bugs (#198676) next »