"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/common-image.h" between
libcaca-0.99.beta19.tar.gz and libcaca-0.99.beta20.tar.bz2

About: libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals (something like an advanced AAlib library).

common-image.h  (libcaca-0.99.beta19):common-image.h  (libcaca-0.99.beta20.tar.bz2)
/* /*
* Imaging tools for cacaview and img2irc * Imaging tools for cacaview and img2irc
* Copyright (c) 2003-2012 Sam Hocevar <sam@hocevar.net> * Copyright © 2003—2018 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved * All Rights Reserved
* *
* This program is free software. It comes without any warranty, to * This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it * the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What the Fuck You Want * and/or modify it under the terms of the Do What the Fuck You Want
* to Public License, Version 2, as published by Sam Hocevar. See * to Public License, Version 2, as published by the WTFPL Task Force.
* http://www.wtfpl.net/ for more details. * See http://www.wtfpl.net/ for more details.
*/ */
struct image struct image
{ {
char *pixels; char *pixels;
unsigned int w, h; size_t w, h;
struct caca_dither *dither; struct caca_dither *dither;
void *priv; void *priv;
}; };
/* Local functions */ /* Local functions */
extern struct image * load_image(char const *); extern struct image * load_image(char const *);
extern void unload_image(struct image *); extern void unload_image(struct image *);
 End of changes. 3 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)