[OLPC-Games] Image resizing?

Roberto Fagá robertofaga at gmail.com
Wed Sep 5 18:48:53 EDT 2007


hey Kent

but why not add PIL to XO? I'm using PIL for this with better
performance, and I think this is very useful to other applications
too.

the rotosize feature is too worst if you resize the image many times,
and is slower than using PIL. I'm thinking on this not only for ISIS,
but for any other project which can use image to resize.

Fagá

On 9/5/07, Kent Quirk <kent_quirk at cognitoy.com> wrote:
> Roberto:
>
> Why do you need resizing for an adventure game system?
>
> PyGame does have a rotozoom feature that can resize -- although it might
> not be as smooth as you'd like it. But it can also be a big performance
> hit. It might be better if you try to keep icons and things to a
> constant size.
>
>     Kent
>
> Roberto Fagá wrote:
> > Hey,
> >
> > As PyGame doesn't have a good resize function (it deforms the
> > surface), I'm using PIL (python-imaging) for this, which is doing this
> > work very quickly. But PIL isn't shipped with Sugar, so, is there any
> > other way to resize images quickly?
> > _______________________________________________
> > Games mailing list
> > Games at lists.laptop.org
> > http://lists.laptop.org/listinfo/games
> >
> >
>
>
> --
> ------------------------------------------------------------
> Kent Quirk           I'm making a game about global warming.
> Game Architect                        Track the progress at:
> CogniToy                http://www.cognitoy.com/meltingpoint
>
> _______________________________________________
> Games mailing list
> Games at lists.laptop.org
> http://lists.laptop.org/listinfo/games
>


More information about the Games mailing list