Re: PIL and requests don't get along

2012-10-24 Thread Roy Smith
In article , Kushal Kumaran wrote: > On 23 Oct 2012 14:06:59 -0400, r...@panix.com (Roy Smith) wrote: > > I have a url from which I can get an image. I want to use PIL to > > manipulate that image. Getting the image is easy: > > > > >>> import requests > > >>> r = requests.get(url) > > > > T

Re: PIL and requests don't get along

2012-10-23 Thread Kushal Kumaran
On 23 Oct 2012 14:06:59 -0400, r...@panix.com (Roy Smith) wrote: > I have a url from which I can get an image. I want to use PIL to > manipulate that image. Getting the image is easy: > > >>> import requests > >>> r = requests.get(url) > > There's a bunch of factory functions for Image, but non

Re: PIL and requests don't get along

2012-10-23 Thread Alex Clark
On 2012-10-23 18:06:59 +, Roy Smith said: I have a url from which I can get an image. I want to use PIL to manipulate that image. Getting the image is easy: import requests r = requests.get(url) There's a bunch of factory functions for Image, but none of them seem to take anything that

PIL and requests don't get along

2012-10-23 Thread Roy Smith
I have a url from which I can get an image. I want to use PIL to manipulate that image. Getting the image is easy: >>> import requests >>> r = requests.get(url) There's a bunch of factory functions for Image, but none of them seem to take anything that requests is willing to give you. Image.ne