Thank You! That helped.
Somehow obvious when you pointed out, but...*phew*.
Almad
--
http://mail.python.org/mailman/listinfo/python-list
Almad wrote:
> I wonder how do I create reasonable thumbnails from JPEG with PIL.
> My code:
>
> logging.debug('Downloading image %s' % id)
> uri = ''.join([config['photo']['masterpath'], '?p=',
> str(id)])
> uf = urlopen(uri).read()
> f = tmpfile()
Almad wrote:
> Hello,
>
> I wonder how do I create reasonable thumbnails from JPEG with PIL.
> My code:
>
> logging.debug('Downloading image %s' % id)
> uri = ''.join([config['photo']['masterpath'], '?p=',
> str(id)])
> uf = urlopen(uri).read()
> f
Forgot to add: I'm using PIL 1.1.5 with Python 2.4, expected on both
Gentoo Linux and Windows XP.
--
http://mail.python.org/mailman/listinfo/python-list