1 /** 2 * This program is free software: you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License as published by 4 * the Free Software Foundation, either version 3 of the License, or 5 * (at your option) any later version. 6 * 7 * This program is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * GNU General Public License for more details. 11 * 12 * You should have received a copy of the GNU General Public License 13 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * 15 * @brief UNIRAST Defines 16 * @file unirast.h 17 * @author Neil 'Superna' Armstrong (c) 2010 18 */ 19 20 #ifndef _UNIRAST_H_ 21 #define _UNIRAST_H_ 22 23 enum unirast_color_space_e 24 { 25 // Grayscale 26 UNIRAST_COLOR_SPACE_GRAYSCALE_8BIT = 0, 27 UNIRAST_COLOR_SPACE_GRAYSCALE_32BIT = 4, 28 29 //RGB 30 UNIRAST_COLOR_SPACE_SRGB_24BIT_1 = 1, 31 UNIRAST_COLOR_SPACE_SRGB_24BIT_3 = 3, 32 UNIRAST_COLOR_SPACE_SRGB_24BIT_5 = 5, 33 UNIRAST_COLOR_SPACE_SRGB_32BIT = 2, 34 35 //CMYK 36 UNIRAST_COLOR_SPACE_CMYK_32BIT_64BIT = 6 37 }; 38 39 enum unirast_duplex_mode_e 40 { 41 UNIRAST_DUPLEX_MODE_0 = 0, 42 UNIRAST_DUPLEX_MODE_1 = 1, 43 UNIRAST_DUPLEX_MODE_2 = 2, 44 UNIRAST_DUPLEX_MODE_3 = 3 45 }; 46 47 enum unirast_quality_e 48 { 49 UNIRAST_QUALITY_3 = 3, 50 UNIRAST_QUALITY_4 = 4, 51 UNIRAST_QUALITY_5 = 5 52 }; 53 54 enum unirast_bpp_e 55 { 56 UNIRAST_BPP_8BIT = 8, 57 UNIRAST_BPP_24BIT = 24, 58 UNIRAST_BPP_32BIT = 32, 59 UNIRAST_BPP_64BIT = 64 60 }; 61 62 #endif 63