Next: Cropping, Previous: Rotation, Up: Simple Image Processing [Contents][Index]
Image flipping refers to the mirror operation in x- or y-direction at the center. For example, to flip the columns of an image, the left and right of the image are flipped (just like having a vertical mirror in the center of the image) thus the first pixel on any given row becomes the last, and the last pixel becomes the first etc.
The API for flipping is as follows
int flimage_flip(FL_IMAGE *im, int what);
where what
can be 'c'
or 'r'
. indicating if
column and row flipping is desired.