|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62252 getimagesize() and Flash CS6 LZMA compression
Submitted: 2012-06-07 17:12 UTC Modified: 2020-11-03 17:50 UTC
Avg. Score:3.7 ± 0.9
Reproduced:5 of 5 (100.0%)
Same Version:4 (80.0%)
Same OS:4 (80.0%)
From: igor at levicki dot net Assigned:
Status: Open Package: GetImageSize related
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: igor at levicki dot net
New email:
PHP Version: OS:


 [2012-06-07 17:12 UTC] igor at levicki dot net
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.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-07 23:49 UTC] 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?
 [2015-01-06 14:51 UTC] twilson90 at hotmail dot co dot uk
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.
 [2020-11-03 17:50 UTC]
-Package: *Compression related +Package: GetImageSize related
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 11:03:34 2021 UTC