Re: File upload corrupting image

2006-10-31 Thread [EMAIL PROTECTED]
G. Windows! That was it, need to open with wb. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe

Re: File upload corrupting image

2006-10-30 Thread Shannon -jj Behrens
On 10/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have a form that I'm using to upload a file. All seems to be in > order, but when I look at the newly copied file it's all skewed and the > colors are all wierd. > > Here is the code I'm using to handle the file upload, Any ideas? : > >

File upload corrupting image

2006-10-30 Thread [EMAIL PROTECTED]
I have a form that I'm using to upload a file. All seems to be in order, but when I look at the newly copied file it's all skewed and the colors are all wierd. Here is the code I'm using to handle the file upload, Any ideas? : if 'big_image' in request.params: f = request.params['big