Debian Codegraph @

src/common-image.h

raw
1 /*
2 * Imaging tools for cacaview and img2irc
3 * Copyright © 2003—2018 Sam Hocevar <[email protected]>
4 * All Rights Reserved
5 *
6 * This program is free software. It comes without any warranty, to
7 * the extent permitted by applicable law. You can redistribute it
8 * and/or modify it under the terms of the Do What the Fuck You Want
9 * to Public License, Version 2, as published by the WTFPL Task Force.
10 * See http://www.wtfpl.net/ for more details.
11 */
12
13 struct image
14 {
15 char *pixels;
16 size_t w, h;
17 struct caca_dither *dither;
18 void *priv;
19 };
20
21 /* Local functions */
22 extern struct image * load_image(char const *);
23 extern void unload_image(struct image *);
24