Req #62252 [Com]: getimagesize() and Flash CS6 LZMA compression
Edit report at https://bugs.php.net/bug.php?id=62252&edit=1
ID: 62252
Comment by: twilson90 at hotmail dot co dot uk
Reported by: igor at levicki dot net
Summary: getimagesize() and Flash CS6 LZMA compression
Status: Open
Type: Feature/Change Request
Package: *Compression related
Operating System: irrelevant
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I have the same problem. I run a flash games website and it requires that I get the width and height
of the SWF for embedding. The SWFs encoded with LZMA return nothing when I use getimagesize() on
them. I can see no practical way of getting the width and height of these swfs and it requires
manual input on the back-end.
Previous Comments:
------------------------------------------------------------------------
[2012-06-07 23:49:42] igor at levicki dot net
I just looked at the latest stable PHP source code, it seems to me that adding the actual function
to deal with LZMA compressed Flash wouldn't be too hard, but LZMA SDK would have to be added to
the project. I wonder what is the official stance on that? Would you accept adding the LZMA SDK to
the PHP source tree? If so, what would be the best way to do that? Do you see other parts of the
project using LZMA in the future as an addition or a replacement for ZLib and Deflate?
------------------------------------------------------------------------
[2012-06-07 17:12:51] igor at levicki dot net
Description:
------------
At least in versions 5.3.x which are the most commonly deployed at various hosting providers
getimagesize() does not support Flash CS6 LZMA compression.
I apologize if this has already been reported. It would be nice to know when we could expect support
for this feature because LZMA saves considerable amount of space.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62252&edit=1
Thread (3 messages)