Question about Jpegs

Michael Morrison borlak at home.com
Wed Jun 7 22:20:54 EDT 2000


Hrm, I'll try this again, it gave me an error last time.....

Is there something.....simpler?  more....Python like?

import simplemodule

newjpeg = simplemodule.shrink_jpeg(file,320,240)


"Ken Seehof" <12klat at sightreader.com> wrote in message
news:393DDEE9.F0F3C4F5 at sightreader.com...
> Take a look at PIL (Python Imaging Library).
>
> Michael Morrison wrote:
>
> > This may not be the appropriate place for this question, but it's for a
> > Python program and I know there are a lot of experienced programmers
here,
> > so....
> >
> > Does anyone know how to "resize" a .jpg or similar file?  My script is
> > dealing with uploaded pictures, and I want it to automatically create a
> > thumbnail for said pictures.  Does python by chance have a module that
can
> > do this?
> >
> > Thanks for any input
>
> --
> Ken Seehof
> kens at sightreader.com
> starship.python.net/crew/seehof
> Hi! I'm a .signature virus! copy me into your .signature file to help me
> spread!
>
>





More information about the Python-list mailing list