2
* ----------------------------------------------------------------------------
3
* Imlib2 wrapper for Python
4
* ----------------------------------------------------------------------------
5
* $Id: rawformats.h 2604 2007-03-28 09:21:52Z dmeyer $
7
* ----------------------------------------------------------------------------
8
* kaa.imlib2 - An imlib2 wrapper for Python
9
* Copyright (C) 2004-2006 Jason Tackaberry <tack@urandom.ca>
11
* First Edition: Jason Tackaberry <tack@urandom.ca>
12
* Maintainer: Jason Tackaberry <tack@urandom.ca>
14
* Please see the file AUTHORS for a complete list of authors.
16
* This library is free software; you can redistribute it and/or modify
17
* it under the terms of the GNU Lesser General Public License version
18
* 2.1 as published by the Free Software Foundation.
20
* This library is distributed in the hope that it will be useful, but
21
* WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
* Lesser General Public License for more details.
25
* You should have received a copy of the GNU Lesser General Public
26
* License along with this library; if not, write to the Free Software
27
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
30
* ----------------------------------------------------------------------------
33
unsigned int get_raw_bytes_size(char *format);
34
unsigned char *get_raw_bytes(char *format, unsigned char *dstbuf);
35
unsigned char *convert_raw_rgba_bytes(char *from_format, char *to_format,
36
unsigned char *from_buf,
37
unsigned char *to_buf,