Learn R Programming

RGtk2 (version 2.8.8)

gdkPixbufSaturateAndPixelate: gdkPixbufSaturateAndPixelate

Description

Modifies saturation and optionally pixelates src, placing the result in dest. src and 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.

Usage

gdkPixbufSaturateAndPixelate(object, dest, saturation, pixelate)

Arguments

object
[GdkPixbuf] source image
dest
[GdkPixbuf] place to write modified version of src
saturation
[numeric] saturation factor
pixelate
[logical] whether to pixelate