summaryrefslogtreecommitdiff
path: root/image.h
blob: 8d767f9860e9fc97c0f09a8fa47b5f7f393193f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "complex.h"

typedef struct complex_image_t complex_image_t;
struct complex_image_t
{
    int width;
    int height;
    complex_t *red;
    complex_t *green;
    complex_t *blue;
};

complex_image_t *
complex_image_new (int width, int height);

complex_image_t *
complex_image_copy (complex_image_t *image);

void
complex_image_subtract (complex_image_t *image,
			complex_image_t *other);