mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Well, now I know _why_ it's failing. We don't have a concept for LAB color
This commit is contained in:
parent
b506e2ad44
commit
ac38d91a2d
BIN
Tests/images/lena.Lab.tif
Normal file
BIN
Tests/images/lena.Lab.tif
Normal file
Binary file not shown.
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user