php.net |  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: -
Votes:7
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: *Compression related
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-06-07 17:12 UTC] 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.



Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 00:01:27 2019 UTC