RedEyeCorrection class (gdipluseffects.h)

The RedEyeCorrection class enables you to correct the red eyes that sometimes occur in flash photographs. Pass the address of a RedEyeCorrection object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify areas of the bitmap that have red eyes, pass a RedEyeCorrectionParams structure to the RedEyeCorrection::SetParameters method of a RedEyeCorrection object.

Inheritance

The RedEyeCorrection class implements Effect.

Methods

The RedEyeCorrection class has these methods.

 
RedEyeCorrection::GetParameters

The RedEyeCorrection::GetParameters method gets the current values of the parameters of this RedEyeCorrection object.
RedEyeCorrection::RedEyeCorrection

Creates a RedEyeCorrection object.
RedEyeCorrection::SetParameters

The RedEyeCorrection::SetParameters method sets the parameters of this RedEyeCorrection object.

Requirements

Requirement Value
Target Platform Windows
Header gdipluseffects.h