Re: [Tutor] Saving an Image in a Given Format

2008-03-31 Thread Eric Walstad
Wayne Watson wrote: > current_image ... convert() and > save() must be methods in that class. The question is what class/module? > PIL? I don't know, but you could try the following from the python command line, which might give you some hints: dir(current_image) current_image.foobarfizzbang

Re: [Tutor] Saving an Image in a Given Format

2008-03-30 Thread Kent Johnson
Wayne Watson wrote: > I see that I misunderstood the syntax of Python for: > > current_image.convert > current_image.save > > current_image is a "pointer" whose type is some class, so convert() and > save() must be methods in that class. Yes. > The question is what class/module? > PIL? That

Re: [Tutor] Saving an Image in a Given Format

2008-03-29 Thread Luke Paireepinart
On Sat, Mar 29, 2008 at 8:15 PM, Wayne Watson <[EMAIL PROTECTED]> wrote: > I see that I misunderstood the syntax of Python for: > > current_image.convert > current_image.save > > current_image is a "pointer" whose type is some class, so convert() and > save() must be methods in that class. Yes, t

Re: [Tutor] Saving an Image in a Given Format

2008-03-29 Thread Wayne Watson
I see that I misunderstood the syntax of Python for: current_image.convert current_image.save current_image is a "pointer" whose type is some class, so convert() and save() must be methods in that class. The question is what class/module? PIL? Wayne Watson wrote: > I'm pretty new to Python an