25#define JMAKE_ENUM_LIST
28#define JMESSAGE(code,string)
36#define JMESSAGE(code,string) code ,
40JMESSAGE(JMSG_FIRSTADDONCODE=1000, NULL)
43JMESSAGE(JERR_BMP_BADCMAP,
"Unsupported BMP colormap format")
44JMESSAGE(JERR_BMP_BADDEPTH, "Only 8-, 24-, and 32-bit BMP files are supported")
45JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header length")
46JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not equal to 1")
47JMESSAGE(JERR_BMP_COLORSPACE, "BMP output must be grayscale or RGB")
48JMESSAGE(JERR_BMP_COMPRESSED, "Sorry, compressed BMPs not yet supported")
49JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM")
50JMESSAGE(JERR_BMP_OUTOFRANGE, "Numeric value out of range in BMP file")
51JMESSAGE(JTRC_BMP, "%ux%u %d-bit BMP image")
52JMESSAGE(JTRC_BMP_MAPPED, "%ux%u 8-bit colormapped BMP image")
53JMESSAGE(JTRC_BMP_OS2, "%ux%u %d-bit OS2 BMP image")
54JMESSAGE(JTRC_BMP_OS2_MAPPED, "%ux%u 8-bit colormapped OS2 BMP image")
58JMESSAGE(JERR_GIF_BUG,
"GIF output got confused")
59JMESSAGE(JERR_GIF_CODESIZE, "Bogus GIF codesize %d")
60JMESSAGE(JERR_GIF_COLORSPACE, "GIF output must be grayscale or RGB")
61JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images in GIF file")
62JMESSAGE(JERR_GIF_NOT, "Not a GIF file")
63JMESSAGE(JERR_GIF_OUTOFRANGE, "Numeric value out of range in GIF file")
64JMESSAGE(JTRC_GIF, "%ux%ux%d GIF image")
65JMESSAGE(JTRC_GIF_BADVERSION,
66 "Warning: unexpected GIF version number '%c%c%c'")
67JMESSAGE(JTRC_GIF_EXTENSION, "Ignoring GIF extension block of type 0x%02x")
68JMESSAGE(JTRC_GIF_NONSQUARE, "Caution: nonsquare pixels in input")
69JMESSAGE(JWRN_GIF_BADDATA, "Corrupt data in GIF file")
70JMESSAGE(JWRN_GIF_CHAR, "Bogus
char 0x%02x in GIF file, ignoring")
71JMESSAGE(JWRN_GIF_ENDCODE, "Premature end of GIF image")
72JMESSAGE(JWRN_GIF_NOMOREDATA, "Ran out of GIF bits")
76JMESSAGE(JERR_PPM_COLORSPACE,
"PPM output must be grayscale or RGB")
77JMESSAGE(JERR_PPM_NONNUMERIC, "Nonnumeric data in PPM file")
78JMESSAGE(JERR_PPM_NOT, "Not a PPM/PGM file")
79JMESSAGE(JERR_PPM_OUTOFRANGE, "Numeric value out of range in PPM file")
80JMESSAGE(JTRC_PGM, "%ux%u PGM image")
81JMESSAGE(JTRC_PGM_TEXT, "%ux%u text PGM image")
82JMESSAGE(JTRC_PPM, "%ux%u PPM image")
83JMESSAGE(JTRC_PPM_TEXT, "%ux%u text PPM image")
87JMESSAGE(JERR_RLE_BADERROR,
"Bogus error code from RLE library")
88JMESSAGE(JERR_RLE_COLORSPACE, "RLE output must be grayscale or RGB")
89JMESSAGE(JERR_RLE_DIMENSIONS, "Image dimensions (%ux%u) too large for RLE")
90JMESSAGE(JERR_RLE_EMPTY, "Empty RLE file")
91JMESSAGE(JERR_RLE_EOF, "Premature EOF in RLE header")
92JMESSAGE(JERR_RLE_MEM, "Insufficient memory for RLE header")
93JMESSAGE(JERR_RLE_NOT, "Not an RLE file")
94JMESSAGE(JERR_RLE_TOOMANYCHANNELS, "Cannot handle %d output channels for RLE")
95JMESSAGE(JERR_RLE_UNSUPPORTED, "Cannot handle this RLE setup")
96JMESSAGE(JTRC_RLE, "%ux%u full-color RLE file")
97JMESSAGE(JTRC_RLE_FULLMAP, "%ux%u full-color RLE file with map of length %d")
98JMESSAGE(JTRC_RLE_GRAY, "%ux%u grayscale RLE file")
99JMESSAGE(JTRC_RLE_MAPGRAY, "%ux%u grayscale RLE file with map of length %d")
100JMESSAGE(JTRC_RLE_MAPPED, "%ux%u colormapped RLE file with map of length %d")
103#ifdef TARGA_SUPPORTED
104JMESSAGE(JERR_TGA_BADCMAP,
"Unsupported Targa colormap format")
105JMESSAGE(JERR_TGA_BADPARMS, "Invalid or unsupported Targa file")
106JMESSAGE(JERR_TGA_COLORSPACE, "Targa output must be grayscale or RGB")
107JMESSAGE(JTRC_TGA, "%ux%u RGB Targa image")
108JMESSAGE(JTRC_TGA_GRAY, "%ux%u grayscale Targa image")
109JMESSAGE(JTRC_TGA_MAPPED, "%ux%u colormapped Targa image")
111JMESSAGE(JERR_TGA_NOTCOMP,
"Targa support was not compiled")
114JMESSAGE(JERR_BAD_CMAP_FILE,
115 "Color map file is invalid or of unsupported format")
116JMESSAGE(JERR_TOO_MANY_COLORS,
117 "Output file format cannot handle %d colormap entries")
118JMESSAGE(JERR_UNGETC_FAILED, "ungetc failed")
119#ifdef TARGA_SUPPORTED
120JMESSAGE(JERR_UNKNOWN_FORMAT,
121 "Unrecognized input file format --- perhaps you need -targa")
123JMESSAGE(JERR_UNKNOWN_FORMAT,
"Unrecognized input file format")
125JMESSAGE(JERR_UNSUPPORTED_FORMAT,
"Unsupported output file format")
127#ifdef JMAKE_ENUM_LIST
132#undef JMAKE_ENUM_LIST