From a4a9b36ed026d92397f83973f3c6474af8011779 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Tue, 5 Nov 2013 20:53:18 -0800 Subject: [PATCH] packbits isn't working correctly --- Tests/test_file_libtiff.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_libtiff.py b/Tests/test_file_libtiff.py index 222d403fa..848b2f584 100644 --- a/Tests/test_file_libtiff.py +++ b/Tests/test_file_libtiff.py @@ -196,8 +196,13 @@ def test_blur(): def test_packbits(): - #im.info['compression']='packbits' - pass + im = lena('RGB') + out = tempfile('temp.tif') + + im.save(out, compression='packbits') + im2 = Image.open(out) + assert_image_equal(im, im2) + def test_cmyk_save():