The imageop module contains some useful operations on images. It operates on images consisting of 8 or 32 bit pixels stored in Python strings. This is the same format as used by gl.lrectwrite() and the imgfile module.
The module defines the following variables and functions:
image, psize, width, height, x0, y0, x1, y1) |
image, psize, width, height, newwidth, newheight) |
image, psize, width, height) |
image, width, height, threshold) |
image, width, height) |
image, width, height, p0, p1) |
0
and 255
respectively.
image, width, height) |
image, width, height) |
image, width, height) |
image, width, height) |
image, width, height) |