This commit is contained in:
wiredfool 2014-03-27 16:39:58 -07:00
parent 86ab020736
commit c7af2bf5b0

View File

@ -203,3 +203,9 @@ def test_exif():
im = Image.open("Tests/images/pil_sample_rgb.jpg")
info = im._getexif()
assert_equal(info[305], 'Adobe Photoshop CS Macintosh')
def test_quality_keep():
im = Image.open("Images/lena.jpg")
f = tempfile('temp.jpg')
assert_no_exception(lambda: im.save(f, quality='keep'))