On Sat, May 06, 2006 at 02:00:28AM +0200, Jiba wrote: > > > PIL doesn't fit all our needs. Not anymore. So it is a problem. > > PIL DOES fit our need for images. > Video is a different thing. Do you think libPNG support Ogg Theora ?
The alternative that I see to adding animation support to soya.Image is to have a soya.Video or soya.AnimImage Then whereever a soya.Image class is expected the type-check needs to also allow for an animation/video/etc to be passed as well. I believe this is wrong. An animated gif, apng, etc should not have special handling procedures in the API. This is non-intuitive, going against your "Soya Spirit" document. > BTW remind what says the "Soya's spirit" about Python module usage PIL is not a standard Python module. Nor would an alternative to PIL. > I don't know about APNG, but why not ? However, normal PNG should > still relies on PIL. That is needlessly retaining PIL as a dependency. If a single, small Python module can provide PNG, JPEG, APNG, and whatever other standard formats may be desired, this is the module Soya should use. > Using non-encoded image as Soya currently does is not a problem for > me. Images are not so big. And, on the other hand, I think it is the > reason why Soya-based games start so quickly compared to other games, > which is important for rapid development and short edit-run-debug cycles. The way Soya handles images internally has nothing to do with rapid development or edit-run-debug cycles. Pre-decoding images and storing them on disk is something we did in the C64 days, modern hardware is fast enough to do this in runtime. > If you want to develop a new image library for Python, do it but > please understand that it is NOT a Soya-related project, and that Soya > might or may not use it, and surely won't use it until it would be as > stable and well-accepted than PIL. All the more reason to have the subversion server at svn.soya3d.org; "Branching Made Easy". _______________________________________________ Soya-user mailing list [email protected] https://mail.gna.org/listinfo/soya-user
