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: 2023-11-16 11:13 UTC
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: Wont fix Package: GetImageSize related
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [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

Pull Requests

Pull requests:

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.
 [2020-11-03 17:50 UTC] cmb@php.net
-Package: *Compression related +Package: GetImageSize related
 [2023-11-16 11:13 UTC] bukka@php.net
-Status: Open +Status: Wont fix
 [2023-11-16 11:13 UTC] bukka@php.net
Considering the Flash is no longer supported by most browser, this might no longer be relevant. If you still have a got a good use case, please open a new GitHub feature request and describe why.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 07:01:27 2024 UTC