Logo Search packages:      
Sourcecode: inkscape version File versions

color_removegreen.py

import coloreffect

class C(coloreffect.ColorEffect):
  def colmod(self,r,g,b):
    return '%02x%02x%02x' % (r,0,b)

c = C()
c.affect()

Generated by  Doxygen 1.6.0   Back to index