Req #65038 [Com]: IMAGETYPE_WEBP constant missing

From: Date: Fri, 10 Jun 2016 08:13:24 +0000
Subject: Req #65038 [Com]: IMAGETYPE_WEBP constant missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201510@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:         archon810 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:

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.


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


Thread (16 messages)

« previous php.bugs (#201510) next »