swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Python binding?


From: Matthias Kramm
Subject: Re: [Swftools-common] Python binding?
Date: Sat, 23 Feb 2008 13:21:01 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]