def test34_DoPixelsTransform(self): image = Image.open("cms_data/black100x100.png") pixels = cms.getPixelsFromImage(image) width, height = image.size self.assertNotEqual( None, cms.cmsDoPixelsTransform(self.transform2, pixels, width * height))
def test33_GetImageFromPixels(self): image = Image.open("cms_data/black100x100.png") pixels = cms.getPixelsFromImage(image) width, height = image.size self.assertNotEqual( None, cms.getImageFromPixels(pixels, image.mode, width, height))
def test32_GetPixelsFromImage(self): image = Image.open("cms_data/black100x100.png") self.assertNotEqual(None, cms.getPixelsFromImage(image))
def test34_DoPixelsTransform(self): image = Image.open("cms_data/black100x100.png") pixels = cms.getPixelsFromImage(image) width, height = image.size self.assertNotEqual(None, cms.cmsDoPixelsTransform(self.transform2, pixels, width * height))
def test33_GetImageFromPixels(self): image = Image.open("cms_data/black100x100.png") pixels = cms.getPixelsFromImage(image) width, height = image.size self.assertNotEqual(None, cms.getImageFromPixels(pixels, image.mode, width, height))