class Magick::Image

def matte_replace(x, y)

pixel at (x, y).
Make transparent all pixels that are the same color as the
def matte_replace(x, y)
  f = copy
  f.alpha(OpaqueAlphaChannel) unless f.alpha?
  target = f.pixel_color(x, y)
  f.transparent(target)
end