> I've got this problem where i need to find out the dimensions of a .swf
> file, but using Python.
Easy:
import SWF
file = SWF.load("file.swf")
print file.width,file.height #or: file.bbox
> swftools has its Python bindings, but i cant find
> any documentation on how to use it.
Agreed- the documentation of pyswf sucks right now.
If I ever get around to doing some development work on
the Python module again (I think it's a nice feature, but
not many people are using it so far), I'll also add some
documentation.
Right now, though, I'm working on pdf2swf.
Greetings
Matthias