24 #define JMAKE_ENUM_LIST 27 #define JMESSAGE(code,string) 31 #ifdef JMAKE_ENUM_LIST 35 #define JMESSAGE(code,string) code , 42 JMESSAGE(JERR_BMP_BADCMAP,
"Unsupported BMP colormap format")
43 JMESSAGE(JERR_BMP_BADDEPTH, "Only 8- and 24-bit BMP files are supported")
44 JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header
length")
45 JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not
equal to 1")
46 JMESSAGE(JERR_BMP_COLORSPACE, "BMP
output must be grayscale or RGB")
47 JMESSAGE(JERR_BMP_COMPRESSED, "Sorry, compressed BMPs not yet supported")
50 JMESSAGE(JTRC_BMP_MAPPED, "%ux%u 8-bit colormapped BMP
image")
52 JMESSAGE(JTRC_BMP_OS2_MAPPED, "%ux%u 8-bit colormapped OS2 BMP
image")
56 JMESSAGE(JERR_GIF_BUG,
"GIF output got confused")
57 JMESSAGE(JERR_GIF_CODESIZE, "Bogus GIF codesize %d")
58 JMESSAGE(JERR_GIF_COLORSPACE, "GIF
output must be grayscale or RGB")
59 JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images
in GIF file")
67 JMESSAGE(JWRN_GIF_CHAR, "Bogus
char 0
x%02
x in GIF file, ignoring")
73 JMESSAGE(JERR_PPM_COLORSPACE,
"PPM output must be grayscale or RGB")
75 JMESSAGE(JERR_PPM_NOT, "Not
a PPM/PGM file")
83 JMESSAGE(JERR_RLE_BADERROR,
"Bogus error code from RLE library")
84 JMESSAGE(JERR_RLE_COLORSPACE, "RLE
output must be grayscale or RGB")
86 JMESSAGE(JERR_RLE_EMPTY, "Empty RLE file")
88 JMESSAGE(JERR_RLE_MEM, "Insufficient memory
for RLE header")
89 JMESSAGE(JERR_RLE_NOT, "Not an RLE file")
91 JMESSAGE(JERR_RLE_UNSUPPORTED, "Cannot handle this RLE setup")
94 JMESSAGE(JTRC_RLE_GRAY, "%ux%u grayscale RLE file")
95 JMESSAGE(JTRC_RLE_MAPGRAY, "%ux%u grayscale RLE file with map of
length %d")
96 JMESSAGE(JTRC_RLE_MAPPED, "%ux%u colormapped RLE file with map of
length %d")
99 #ifdef TARGA_SUPPORTED 100 JMESSAGE(JERR_TGA_BADCMAP,
"Unsupported Targa colormap format")
101 JMESSAGE(JERR_TGA_BADPARMS, "Invalid or unsupported Targa file")
102 JMESSAGE(JERR_TGA_COLORSPACE, "Targa
output must be grayscale or RGB")
107 JMESSAGE(JERR_TGA_NOTCOMP,
"Targa support was not compiled")
111 "Color map file is invalid or of unsupported format")
114 JMESSAGE(JERR_UNGETC_FAILED, "ungetc failed")
115 #ifdef TARGA_SUPPORTED 117 "Unrecognized input file format --- perhaps you need -targa")
119 JMESSAGE(JERR_UNKNOWN_FORMAT,
"Unrecognized input file format")
121 JMESSAGE(JERR_UNSUPPORTED_FORMAT,
"Unsupported output file format")
123 #ifdef JMAKE_ENUM_LIST 128 #undef JMAKE_ENUM_LIST GLenum GLuint GLenum GLsizei length
for(n=1;n< outline->n_points;n++)
GLboolean GLboolean GLboolean GLboolean a
GLenum GLsizei GLenum GLenum const GLvoid * image
GLint GLint GLint GLint GLint x
#define JMESSAGE(code, string)
GLenum GLenum GLenum input
local int out(void *out_desc, unsigned char *buf, unsigned len)
GLsizei GLsizei GLenum GLenum const GLvoid * data
png_infop png_sPLT_tpp entries
#define unexpected(table, a0)
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
ivec4 equal(const Vector4< T > &a, const Vector4< T > &b)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
output(gif_dest_ptr dinfo, int code)