PictureEffects Xojo Plugin |

# GrayscaleEffect.Apply Method

Applies the effect on a given 32 bit source image with parameters that have been set on the class instance.

Apply(
source as Picture) as Picture

#### Parameters

source
  The source image.

#### Returns

Picture
  If the filter was successful: A reference to the modified picture.
  If nil was returned then see the ErrorCode property to get hints for cause of the error.

#### Remarks

#### See Also

GrayscaleEffect Class