OOF2: The Manual

Name

OOF.Image.Modify.Gray — Convert image to gray scale.

Synopsis

OOF.Image.Modify.Gray(image)

Details

  • Parent Menu: OOF.Image.Modify
  • Callback: function doImageMod in module ooflib.image.imagemodifier
  • Parameters:

    image
    Type: The path to an existing Image object.

Description

Convert a color Image to gray. Each pixel color is replaced by a gray value equal to the average of the color's red, green, and blue components.