how to use imaageop.scale

Bruce JiaFangTao at gmail.com
Wed May 23 21:58:28 EDT 2007


On May 23, 5:31 pm, "Amit Khemka" <khemkaa... at gmail.com> wrote:
> On 23 May 2007 00:02:34 -0700, Bruce <JiaFang... at gmail.com> wrote:
>
> > Hi, I want to compress a jpg file. e.g. a jpg file which has RGB band
> > (24bit per pixel), 100 * 100 size to 50 * 50 size. I
> > tried to use scale function in imageop module but failed. Any
> > suggestions about this? Thanks!
>
> Were there any exceptions/error-messasges ?
> Do you jpeg libraries installed for hadling jpeg format ?
>
> Cheers,
>
> --
> ----
> Amit Khemka -- onyomo.com
> Home Page:www.cse.iitd.ernet.in/~csd00377
> Endless the world's turn, endless the sun's Spinning, Endless the quest;
> I turn again, back to my own beginning, And here, find rest.

Amit & Marc, thank you very much. Now I used PIL instead and it works
fine.
But I still don't know how to complete this simple task with imageop
module.
THANKS ANYWAY!

Bruce




More information about the Python-list mailing list