Extracted from Pike v7.6 release 33 at 2006-10-17.
pike.ida.liu.se
[Top]
Image
Image.Image

Method Image.Image()->invert()


Method invert

object invert()

Description

Invert an image. Each pixel value gets to be 255-x, where x is the old value.

original ->invert(); ->rgb_to_hsv()->invert()->hsv_to_rgb();

Returns

the new image object