Re: PIL thumbnails unreasonably large

2006-05-11 Thread Almad
Thank You! That helped. Somehow obvious when you pointed out, but...*phew*. Almad -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL thumbnails unreasonably large

2006-05-10 Thread Fredrik Lundh
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()

Re: PIL thumbnails unreasonably large

2006-05-10 Thread Larry Bates
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

Re: PIL thumbnails unreasonably large

2006-05-10 Thread Almad
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