[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Help to use gfx and rfx in python
From: |
Ricardo Pedroso |
Subject: |
Re: [Swftools-common] Help to use gfx and rfx in python |
Date: |
Sun, 27 Jun 2010 00:12:14 +0100 |
On Sat, Jun 26, 2010 at 2:11 PM, kgart <address@hidden> wrote:
> Hi,
>
> I'm a beginner with python and so with swftools python modules.
> I would like to make a "pdf2swf" python script that do the same thing
> than the pdf2swf command.
> This will be a great example of use of gfx and SWF module for python, and
> a good start to make a custom output of a swf file.
> But I have no idea how to use these modules.
To have pdf2swf same behaviour implemented in python, you don't need
SWF python module
gfx is enough
> I don't find enough Documentation to help me so I try the mailing-list.
> At the end of the mail the initial script that correctly run but build an
> empty swf.
I'm blank here too, maybe some day I will dig into SWF python module.
> And what are the type of each parameters of every method of the
> "PassThrough" object ?
>
I don't understand what you mean here.
> I have this start : (By the way : drawChar is writing drawchar (lower c) in
> the gfx tutorial, and it make segmentation fault.)
>
It seems to me that gfx module is far from complete, especially the PassThrough.
Sometimes ago I did a compatible implementation (and more complete, I guess)
of the gfx python module using cython.
I did it because I want to learn cython and gfx was familiar for me.
I can provide it, if you or anybody wants.
Ricardo