Gdk.Pixbuf.SaturateAndPixelate Method
Saturation and pixelation of a Pixbuf

Syntax

public void SaturateAndPixelate (Pixbuf dest, float saturation, bool pixelate)

Parameters

dest
Target Pixbuf where the resulting image is stored
saturation
saturation factor
pixelate
whether to pixelation will take place

Remarks

Modifies saturation and optionally pixelates the Pixbuf, placing the result in dest. dest may be the same Pixbuf with no ill effects. If saturation is 1.0 then saturation is not changed. If it's less than 1.0, saturation is reduced (the image is darkened); if greater than 1.0, saturation is increased (the image is brightened). If pixelate is true, then pixels are faded in a checkerboard pattern to create a pixelated image. src and dest must have the same image format, size, and rowstride.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)