On 23 May 2007 18:58:28 -0700, Bruce <[EMAIL PROTECTED]> wrote: > On May 23, 5:31 pm, "Amit Khemka" <[EMAIL PROTECTED]> wrote: > > On 23 May 2007 00:02:34 -0700, Bruce <[EMAIL PROTECTED]> 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 ?
> 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. I think imageop moudle can handle raw images only, so if you want to use imageop you will need to convert jpeg images to raw 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. -- http://mail.python.org/mailman/listinfo/python-list