You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
708 B

  1. /*
  2. * Imaging tools for cacaview and img2irc
  3. * Copyright (c) 2003-2006 Sam Hocevar <sam@zoy.org>
  4. * All Rights Reserved
  5. *
  6. * $Id$
  7. *
  8. * This program is free software. It comes without any warranty, to
  9. * the extent permitted by applicable law. You can redistribute it
  10. * and/or modify it under the terms of the Do What The Fuck You Want
  11. * To Public License, Version 2, as published by Sam Hocevar. See
  12. * http://sam.zoy.org/wtfpl/COPYING for more details.
  13. */
  14. struct image
  15. {
  16. char *pixels;
  17. unsigned int w, h;
  18. struct caca_dither *dither;
  19. void *priv;
  20. };
  21. /* Local functions */
  22. extern struct image * load_image(char const *);
  23. extern void unload_image(struct image *);