Adding method for painting a color in transparent #98
I will try but I experienced difficulties to run the test suit on my computer. I have already written a test but I don`t know if it pass or not as I can't figure out how to execute it ;-)
assert alpha_image[0, 50] == 1.0
Le 10 mars 2013 à 13:55, Hong Minhee a écrit :
And it seems to currently fail:
Traceback (most recent call last): File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__ self.gen.throw(type, value, traceback) File "/usr/lib/python2.6/contextlib.py", line 113, in nested yield vars File "wandtests/image.py", line 776, in transparent_paint img.transparent_paint(white, 0.0, 2, 0) AttributeError: 'Image' object has no attribute 'transparent_paint'
That does not fail on my test ;-)
Le 13 mars 2013 à 22:38, Hong Minhee a écrit :