PHP: How to get .wd file width for shock wave and height?

As we know, the getimagesize () function works very well for images and swf files.

But it does not support the shock wave file (.dcr).

SO, how can I get the width and height of such a file.

+5
source share
2 answers

I'm not a Lingo / Director specialist, but AFAIK you cannot do this with PHP.

. The DCR file format is not open, so you will not find the file format specification so that you can create your own parser and extract this information yourself.

However, there has to be a way to do this using a client-directed movie director.

Eg. dcr ( / .. ). , /.

, 2006 , : http://director-online.com/forums/read.php?1,20621,20621,quote=1

!:)

+2

Windows, IrfanView () (, ) swf dcr. (, Linux).

IfranView

OS php, shell_exec().

swf php .

,

-1

All Articles