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