I don't think you need to use PIL to convert to Pygame since Pygame
supports SDL_image which supports quite a few file formats:
http://www.libsdl.org/projects/SDL_image/

Formats: BMP, PNM, XPM, LBM, PCX, GIF, JPEG, PNG, TGA.

Aubin


On Sat, Nov 01, 2003 at 05:04:45PM +0100, [EMAIL PROTECTED] wrote:
> Ok, here are my first tests for fading between pictures :
>  - In the Python world, it seems (maybe someone can confirm???) that only
> PIL offers a function for fading (the Image.blend function).
>  - I test it by modifying the src/image/ files : the imageitem.oy now
> accepts a second filename, which is the previous image. Then the viewer
> loops in ten step to fade-in/out the previous image to the new one.
>  - On my 800x600 screen (Duron 800 Mhz+R128TVout), the processing is very,
> very slow !!! At least 3/4 sec for fading between two 800x600 pictures,
> with 97% of my CPU !!!
> 
> I think that one of the problem is for each frame, the PIL image needs to
> be converted to a Pygame image... Any ideas to do it directly in Pygame
> ??? Or ???
> 
> Sylvain.
> 
> > [EMAIL PROTECTED] wrote:
> >>>   If you have some time, feel free to send patched :) Or at least do
> >>>some googling to find out some python modules that do these effects or
> >>>at least some lib that can be used to make them... maybe PIL does.
> >>
> >>
> >> OK i will look at that. I will search for existing Python modules and
> >> then
> >> try to implement it.
> >
> > There are some nice pythonmagik modules (be carefull there are two with
> > the same name, I forget which is the good one) that look to have lots of
> > great image processing features.  I was thinking about using this for
> > the gphoto or camera plugins to preprocess images before saving them to
> > the machine.
> >
> > -Rob
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?   SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to