def testColorize(self): im = self.testRead() im2 = im.makeColorize(Color.rgb(0.5, 0.5, 0.5), 50)
def testRgb(self): c = Color.rgb(0.5, 0.5, 0.5) self.assertEqual("<Color: rgba(32767,32767,32767,0)>", repr(c))
def testRgb(self): c = Color.rgb(0.5, 0.5, 0.5) self.assertEqual('<Color: rgba(32767,32767,32767,0)>', repr(c))