diff --git a/Tests/images/lena.Lab.tif b/Tests/images/lena.Lab.tif new file mode 100644 index 000000000..335598210 Binary files /dev/null and b/Tests/images/lena.Lab.tif differ diff --git a/Tests/test_imagecms.py b/Tests/test_imagecms.py index 6c4e0e702..84a4751d3 100644 --- a/Tests/test_imagecms.py +++ b/Tests/test_imagecms.py @@ -98,6 +98,8 @@ def test_lab_color_profile(): def test_lab_color(): pLab = ImageCms.createProfile("LAB") t = ImageCms.buildTransform(SRGB, pLab, "RGB", "RGB") + # need to add a type mapping for some PIL type to TYPE_Lab_8 in findLCMSType, + # and have that mapping work back to a PIL mode. (likely RGB) i = ImageCms.applyTransform(lena(), t) assert_image(i, "RGB", (128, 128))