예제 #1
0
파일: image.py 프로젝트: drummonds/magickpy
 def testColorize(self):
     im = self.testRead()
     im2 = im.makeColorize(Color.rgb(0.5, 0.5, 0.5), 50)
예제 #2
0
파일: color.py 프로젝트: tailhook/magickpy
 def testRgb(self):
     c = Color.rgb(0.5, 0.5, 0.5)
     self.assertEqual("<Color: rgba(32767,32767,32767,0)>", repr(c))
예제 #3
0
 def testRgb(self):
     c = Color.rgb(0.5, 0.5, 0.5)
     self.assertEqual('<Color: rgba(32767,32767,32767,0)>', repr(c))
예제 #4
0
파일: image.py 프로젝트: drummonds/magickpy
 def testColorize(self):
     im = self.testRead()
     im2 = im.makeColorize(Color.rgb(0.5, 0.5, 0.5), 50)