On Monday, 6 January 2014 18:14:08 UTC+1, jwe.va...@gmail.com wrote:
> I have problems with these two classes:
>
>
>
> class LPU1():
>
> def __init__(self, formula):
>
> """
>
> formula is a string that is parsed into a SymPy function
>
> and several derived func
I have problems with these two classes:
class LPU1():
def __init__(self, formula):
"""
formula is a string that is parsed into a SymPy function
and several derived functions
"""
self.formula = formula
... ...
class LPU3(LPU1):
def __new_
On Sunday, 16 December 2012 20:43:12 UTC+1, jwe.va...@gmail.com wrote:
> I want to resize an image but retain the exif data
>
> I now have:
>
> import Image
>
>
>
> img = Image.open('photo.jpg')
>
> img.thumbnail((800, 800), Image.ANTIALIAS)
>
> img.save('photo800.jpg', 'JPEG')
>
>
>
> T
I want to resize an image but retain the exif data
I now have:
import Image
img = Image.open('photo.jpg')
img.thumbnail((800, 800), Image.ANTIALIAS)
img.save('photo800.jpg', 'JPEG')
The saved image photo800.jpg has no exif info anymore.
I would so much like to have it retained in particular the e