1 /*
2 Prepare indices into our pixel format.
3 
4 Synthesizer engine pixel contains mask pixelel and map pixelels
5 (Not just the color and alpha pixelels.)
6 
7 IN: Image format (RGB, RGBA, Grey, etc.)
8 OUT: global index variables.
9 
10 Not depend on Gimp
11 
12   Copyright (C) 2010, 2011  Lloyd Konneker
13 
14   This program is free software; you can redistribute it and/or modify
15   it under the terms of the GNU General Public License as published by
16   the Free Software Foundation; either version 2 of the License, or
17   (at your option) any later version.
18 
19   This program is distributed in the hope that it will be useful,
20   but WITHOUT ANY WARRANTY; without even the implied warranty of
21   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22   GNU General Public License for more details.
23 
24   You should have received a copy of the GNU General Public License
25   along with this program; if not, write to the Free Software
26   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27 */
28 
29 
30 #ifndef __SYNTH_IMAGE_FORMAT_H__
31 #define __SYNTH_IMAGE_FORMAT_H__
32 
33 // Enumerates different layouts of pixelels within pixels, for in images
34 // This type is exported, needed by callers of library
35 // The library lays pixelels out in its own internal format
36 typedef enum  ImageFormat
37 {
38   T_RGB,
39   T_RGBA,
40   T_Gray,
41   T_GrayA
42 } TImageFormat;
43 
44 #endif /* __SYNTH_IMAGE_FORMAT_H__ */
45 
46