libtpcimgp
 All Data Structures Files Functions Variables Typedefs Defines
Functions
imgflip.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include "img.h"
#include "include/imgflip.h"
Include dependency graph for imgflip.c:

Go to the source code of this file.

Functions

void imgFlipHorizontal (IMG *img)
void imgFlipVertical (IMG *img)
void imgFlipPlanes (IMG *img)

Function Documentation

void imgFlipHorizontal ( IMG *  img)

Flip IMG data horizontally (left-right)

Definition at line 43 of file imgflip.c.

void imgFlipPlanes ( IMG *  img)

Flip IMG data planes (head-toes). To work properly, the plane numbers must be contiguous.

Definition at line 81 of file imgflip.c.

void imgFlipVertical ( IMG *  img)

Flip IMG data vertically (up-down)

Definition at line 62 of file imgflip.c.