Jump to content
php.lv forumi

SWF image size nolasīšana


KillerBean

Recommended Posts

Problēma tāda, ka nevar nolasīt SWF image size, ar

list($width, $height, $type, $attr) = getimagesize("fails.swf");

uz servera stāv 5.2.6. (pie stream filtriem ir arī zlib.* (Zlib 1.2.3)).

4.x versijām bija kkāds bugs (PHP bug #29611 - Link), taču uz free hostinga uzmetot (versija 5.2.8 (Zlib 1.2.3.3)) viss strādā.

varbūt kāds ir saskāries ar ko līdzīgu? vai vaina tur zlib Library'ā?

Edited by KillerBean
Link to comment
Share on other sites

no manuāļa:

http://lv.php.net/manual/en/function.getimagesize.php#55503

"Note that the canvas of a Flash movie can not be empty for getimagesize() to read the dimensions of an SWF. Not sure if this is a bug, a feature or just a limitation of the SWF format.

 

Flash version does not seem to matter. Also tested with Flash 8 beta."

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...