class Magick::Image

def color_reset!(fill)

Accepts either String or Pixel arguments
Set all pixels to the fill color. Very similar to Image#erase!
def color_reset!(fill)
  save = background_color
  # Change the background color _outside_ the begin block
  # so that if this object is frozen the exeception will be
  # raised before we have to handle it explicitly.
  self.background_color = fill
  begin
    erase!
  ensure
    self.background_color = save
  end
  self
end