JMESSAGE 28 cderror.h #define JMESSAGE(code,string) JMESSAGE 36 cderror.h #define JMESSAGE(code,string) code , JMESSAGE 40 cderror.h JMESSAGE(JMSG_FIRSTADDONCODE=1000, NULL) /* Must be first entry! */ JMESSAGE 43 cderror.h JMESSAGE(JERR_BMP_BADCMAP, "Unsupported BMP colormap format") JMESSAGE 44 cderror.h JMESSAGE(JERR_BMP_BADDEPTH, "Only 8- and 24-bit BMP files are supported") JMESSAGE 45 cderror.h JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header length") JMESSAGE 46 cderror.h JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not equal to 1") JMESSAGE 47 cderror.h JMESSAGE(JERR_BMP_COLORSPACE, "BMP output must be grayscale or RGB") JMESSAGE 48 cderror.h JMESSAGE(JERR_BMP_COMPRESSED, "Sorry, compressed BMPs not yet supported") JMESSAGE 49 cderror.h JMESSAGE(JERR_BMP_EMPTY, "Empty BMP image") JMESSAGE 50 cderror.h JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM") JMESSAGE 51 cderror.h JMESSAGE(JTRC_BMP, "%ux%u 24-bit BMP image") JMESSAGE 52 cderror.h JMESSAGE(JTRC_BMP_MAPPED, "%ux%u 8-bit colormapped BMP image") JMESSAGE 53 cderror.h JMESSAGE(JTRC_BMP_OS2, "%ux%u 24-bit OS2 BMP image") JMESSAGE 54 cderror.h JMESSAGE(JTRC_BMP_OS2_MAPPED, "%ux%u 8-bit colormapped OS2 BMP image") JMESSAGE 58 cderror.h JMESSAGE(JERR_GIF_BUG, "GIF output got confused") JMESSAGE 59 cderror.h JMESSAGE(JERR_GIF_CODESIZE, "Bogus GIF codesize %d") JMESSAGE 60 cderror.h JMESSAGE(JERR_GIF_COLORSPACE, "GIF output must be grayscale or RGB") JMESSAGE 61 cderror.h JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images in GIF file") JMESSAGE 62 cderror.h JMESSAGE(JERR_GIF_NOT, "Not a GIF file") JMESSAGE 63 cderror.h JMESSAGE(JTRC_GIF, "%ux%ux%d GIF image") JMESSAGE 64 cderror.h JMESSAGE(JTRC_GIF_BADVERSION, JMESSAGE 66 cderror.h JMESSAGE(JTRC_GIF_EXTENSION, "Ignoring GIF extension block of type 0x%02x") JMESSAGE 67 cderror.h JMESSAGE(JTRC_GIF_NONSQUARE, "Caution: nonsquare pixels in input") JMESSAGE 68 cderror.h JMESSAGE(JWRN_GIF_BADDATA, "Corrupt data in GIF file") JMESSAGE 69 cderror.h JMESSAGE(JWRN_GIF_CHAR, "Bogus char 0x%02x in GIF file, ignoring") JMESSAGE 70 cderror.h JMESSAGE(JWRN_GIF_ENDCODE, "Premature end of GIF image") JMESSAGE 71 cderror.h JMESSAGE(JWRN_GIF_NOMOREDATA, "Ran out of GIF bits") JMESSAGE 75 cderror.h JMESSAGE(JERR_PPM_COLORSPACE, "PPM output must be grayscale or RGB") JMESSAGE 76 cderror.h JMESSAGE(JERR_PPM_NONNUMERIC, "Nonnumeric data in PPM file") JMESSAGE 77 cderror.h JMESSAGE(JERR_PPM_NOT, "Not a PPM/PGM file") JMESSAGE 78 cderror.h JMESSAGE(JTRC_PGM, "%ux%u PGM image") JMESSAGE 79 cderror.h JMESSAGE(JTRC_PGM_TEXT, "%ux%u text PGM image") JMESSAGE 80 cderror.h JMESSAGE(JTRC_PPM, "%ux%u PPM image") JMESSAGE 81 cderror.h JMESSAGE(JTRC_PPM_TEXT, "%ux%u text PPM image") JMESSAGE 85 cderror.h JMESSAGE(JERR_RLE_BADERROR, "Bogus error code from RLE library") JMESSAGE 86 cderror.h JMESSAGE(JERR_RLE_COLORSPACE, "RLE output must be grayscale or RGB") JMESSAGE 87 cderror.h JMESSAGE(JERR_RLE_DIMENSIONS, "Image dimensions (%ux%u) too large for RLE") JMESSAGE 88 cderror.h JMESSAGE(JERR_RLE_EMPTY, "Empty RLE file") JMESSAGE 89 cderror.h JMESSAGE(JERR_RLE_EOF, "Premature EOF in RLE header") JMESSAGE 90 cderror.h JMESSAGE(JERR_RLE_MEM, "Insufficient memory for RLE header") JMESSAGE 91 cderror.h JMESSAGE(JERR_RLE_NOT, "Not an RLE file") JMESSAGE 92 cderror.h JMESSAGE(JERR_RLE_TOOMANYCHANNELS, "Cannot handle %d output channels for RLE") JMESSAGE 93 cderror.h JMESSAGE(JERR_RLE_UNSUPPORTED, "Cannot handle this RLE setup") JMESSAGE 94 cderror.h JMESSAGE(JTRC_RLE, "%ux%u full-color RLE file") JMESSAGE 95 cderror.h JMESSAGE(JTRC_RLE_FULLMAP, "%ux%u full-color RLE file with map of length %d") JMESSAGE 96 cderror.h JMESSAGE(JTRC_RLE_GRAY, "%ux%u grayscale RLE file") JMESSAGE 97 cderror.h JMESSAGE(JTRC_RLE_MAPGRAY, "%ux%u grayscale RLE file with map of length %d") JMESSAGE 98 cderror.h JMESSAGE(JTRC_RLE_MAPPED, "%ux%u colormapped RLE file with map of length %d") JMESSAGE 102 cderror.h JMESSAGE(JERR_TGA_BADCMAP, "Unsupported Targa colormap format") JMESSAGE 103 cderror.h JMESSAGE(JERR_TGA_BADPARMS, "Invalid or unsupported Targa file") JMESSAGE 104 cderror.h JMESSAGE(JERR_TGA_COLORSPACE, "Targa output must be grayscale or RGB") JMESSAGE 105 cderror.h JMESSAGE(JTRC_TGA, "%ux%u RGB Targa image") JMESSAGE 106 cderror.h JMESSAGE(JTRC_TGA_GRAY, "%ux%u grayscale Targa image") JMESSAGE 107 cderror.h JMESSAGE(JTRC_TGA_MAPPED, "%ux%u colormapped Targa image") JMESSAGE 109 cderror.h JMESSAGE(JERR_TGA_NOTCOMP, "Targa support was not compiled") JMESSAGE 112 cderror.h JMESSAGE(JERR_BAD_CMAP_FILE, JMESSAGE 114 cderror.h JMESSAGE(JERR_TOO_MANY_COLORS, JMESSAGE 116 cderror.h JMESSAGE(JERR_UNGETC_FAILED, "ungetc failed") JMESSAGE 118 cderror.h JMESSAGE(JERR_UNKNOWN_FORMAT, JMESSAGE 121 cderror.h JMESSAGE(JERR_UNKNOWN_FORMAT, "Unrecognized input file format") JMESSAGE 123 cderror.h JMESSAGE(JERR_UNSUPPORTED_FORMAT, "Unsupported output file format") JMESSAGE 134 cderror.h #undef JMESSAGE JMESSAGE 43 cjpeg.c #define JMESSAGE(code,string) string , JMESSAGE 45 djpeg.c #define JMESSAGE(code,string) string , JMESSAGE 48 jerror.c #define JMESSAGE(code,string) string , JMESSAGE 28 jerror.h #define JMESSAGE(code,string) JMESSAGE 36 jerror.h #define JMESSAGE(code,string) code , JMESSAGE 40 jerror.h JMESSAGE(JMSG_NOMESSAGE, "Bogus message code %d") /* Must be first entry! */ JMESSAGE 43 jerror.h JMESSAGE(JERR_BAD_ALIGN_TYPE, "ALIGN_TYPE is wrong, please fix") JMESSAGE 44 jerror.h JMESSAGE(JERR_BAD_ALLOC_CHUNK, "MAX_ALLOC_CHUNK is wrong, please fix") JMESSAGE 45 jerror.h JMESSAGE(JERR_BAD_BUFFER_MODE, "Bogus buffer control mode") JMESSAGE 46 jerror.h JMESSAGE(JERR_BAD_COMPONENT_ID, "Invalid component ID %d in SOS") JMESSAGE 47 jerror.h JMESSAGE(JERR_BAD_CROP_SPEC, "Invalid crop request") JMESSAGE 48 jerror.h JMESSAGE(JERR_BAD_DCT_COEF, "DCT coefficient out of range") JMESSAGE 49 jerror.h JMESSAGE(JERR_BAD_DCTSIZE, "DCT scaled block size %dx%d not supported") JMESSAGE 50 jerror.h JMESSAGE(JERR_BAD_DROP_SAMPLING, JMESSAGE 52 jerror.h JMESSAGE(JERR_BAD_HUFF_TABLE, "Bogus Huffman table definition") JMESSAGE 53 jerror.h JMESSAGE(JERR_BAD_IN_COLORSPACE, "Bogus input colorspace") JMESSAGE 54 jerror.h JMESSAGE(JERR_BAD_J_COLORSPACE, "Bogus JPEG colorspace") JMESSAGE 55 jerror.h JMESSAGE(JERR_BAD_LENGTH, "Bogus marker length") JMESSAGE 56 jerror.h JMESSAGE(JERR_BAD_LIB_VERSION, JMESSAGE 58 jerror.h JMESSAGE(JERR_BAD_MCU_SIZE, "Sampling factors too large for interleaved scan") JMESSAGE 59 jerror.h JMESSAGE(JERR_BAD_POOL_ID, "Invalid memory pool code %d") JMESSAGE 60 jerror.h JMESSAGE(JERR_BAD_PRECISION, "Unsupported JPEG data precision %d") JMESSAGE 61 jerror.h JMESSAGE(JERR_BAD_PROGRESSION, JMESSAGE 63 jerror.h JMESSAGE(JERR_BAD_PROG_SCRIPT, JMESSAGE 65 jerror.h JMESSAGE(JERR_BAD_SAMPLING, "Bogus sampling factors") JMESSAGE 66 jerror.h JMESSAGE(JERR_BAD_SCAN_SCRIPT, "Invalid scan script at entry %d") JMESSAGE 67 jerror.h JMESSAGE(JERR_BAD_STATE, "Improper call to JPEG library in state %d") JMESSAGE 68 jerror.h JMESSAGE(JERR_BAD_STRUCT_SIZE, JMESSAGE 70 jerror.h JMESSAGE(JERR_BAD_VIRTUAL_ACCESS, "Bogus virtual array access") JMESSAGE 71 jerror.h JMESSAGE(JERR_BUFFER_SIZE, "Buffer passed to JPEG library is too small") JMESSAGE 72 jerror.h JMESSAGE(JERR_CANT_SUSPEND, "Suspension not allowed here") JMESSAGE 73 jerror.h JMESSAGE(JERR_CCIR601_NOTIMPL, "CCIR601 sampling not implemented yet") JMESSAGE 74 jerror.h JMESSAGE(JERR_COMPONENT_COUNT, "Too many color components: %d, max %d") JMESSAGE 75 jerror.h JMESSAGE(JERR_CONVERSION_NOTIMPL, "Unsupported color conversion request") JMESSAGE 76 jerror.h JMESSAGE(JERR_DAC_INDEX, "Bogus DAC index %d") JMESSAGE 77 jerror.h JMESSAGE(JERR_DAC_VALUE, "Bogus DAC value 0x%x") JMESSAGE 78 jerror.h JMESSAGE(JERR_DHT_INDEX, "Bogus DHT index %d") JMESSAGE 79 jerror.h JMESSAGE(JERR_DQT_INDEX, "Bogus DQT index %d") JMESSAGE 80 jerror.h JMESSAGE(JERR_EMPTY_IMAGE, "Empty JPEG image (DNL not supported)") JMESSAGE 81 jerror.h JMESSAGE(JERR_EMS_READ, "Read from EMS failed") JMESSAGE 82 jerror.h JMESSAGE(JERR_EMS_WRITE, "Write to EMS failed") JMESSAGE 83 jerror.h JMESSAGE(JERR_EOI_EXPECTED, "Didn't expect more than one scan") JMESSAGE 84 jerror.h JMESSAGE(JERR_FILE_READ, "Input file read error") JMESSAGE 85 jerror.h JMESSAGE(JERR_FILE_WRITE, "Output file write error --- out of disk space?") JMESSAGE 86 jerror.h JMESSAGE(JERR_FRACT_SAMPLE_NOTIMPL, "Fractional sampling not implemented yet") JMESSAGE 87 jerror.h JMESSAGE(JERR_HUFF_CLEN_OVERFLOW, "Huffman code size table overflow") JMESSAGE 88 jerror.h JMESSAGE(JERR_HUFF_MISSING_CODE, "Missing Huffman code table entry") JMESSAGE 89 jerror.h JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels") JMESSAGE 90 jerror.h JMESSAGE(JERR_INPUT_EMPTY, "Empty input file") JMESSAGE 91 jerror.h JMESSAGE(JERR_INPUT_EOF, "Premature end of input file") JMESSAGE 92 jerror.h JMESSAGE(JERR_MISMATCHED_QUANT_TABLE, JMESSAGE 94 jerror.h JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data") JMESSAGE 95 jerror.h JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change") JMESSAGE 96 jerror.h JMESSAGE(JERR_NOTIMPL, "Not implemented yet") JMESSAGE 97 jerror.h JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time") JMESSAGE 98 jerror.h JMESSAGE(JERR_NO_ARITH_TABLE, "Arithmetic table 0x%02x was not defined") JMESSAGE 99 jerror.h JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported") JMESSAGE 100 jerror.h JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined") JMESSAGE 101 jerror.h JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image") JMESSAGE 102 jerror.h JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined") JMESSAGE 103 jerror.h JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x") JMESSAGE 104 jerror.h JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)") JMESSAGE 105 jerror.h JMESSAGE(JERR_QUANT_COMPONENTS, JMESSAGE 107 jerror.h JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors") JMESSAGE 108 jerror.h JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors") JMESSAGE 109 jerror.h JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers") JMESSAGE 110 jerror.h JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker") JMESSAGE 111 jerror.h JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x") JMESSAGE 112 jerror.h JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers") JMESSAGE 113 jerror.h JMESSAGE(JERR_SOS_NO_SOF, "Invalid JPEG file structure: SOS before SOF") JMESSAGE 114 jerror.h JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s") JMESSAGE 115 jerror.h JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file") JMESSAGE 116 jerror.h JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file") JMESSAGE 117 jerror.h JMESSAGE(JERR_TFILE_WRITE, JMESSAGE 119 jerror.h JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines") JMESSAGE 120 jerror.h JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x") JMESSAGE 121 jerror.h JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up") JMESSAGE 122 jerror.h JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation") JMESSAGE 123 jerror.h JMESSAGE(JERR_XMS_READ, "Read from XMS failed") JMESSAGE 124 jerror.h JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed") JMESSAGE 125 jerror.h JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT) JMESSAGE 126 jerror.h JMESSAGE(JMSG_VERSION, JVERSION) JMESSAGE 127 jerror.h JMESSAGE(JTRC_16BIT_TABLES, JMESSAGE 129 jerror.h JMESSAGE(JTRC_ADOBE, JMESSAGE 131 jerror.h JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u") JMESSAGE 132 jerror.h JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u") JMESSAGE 133 jerror.h JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x") JMESSAGE 134 jerror.h JMESSAGE(JTRC_DHT, "Define Huffman Table 0x%02x") JMESSAGE 135 jerror.h JMESSAGE(JTRC_DQT, "Define Quantization Table %d precision %d") JMESSAGE 136 jerror.h JMESSAGE(JTRC_DRI, "Define Restart Interval %u") JMESSAGE 137 jerror.h JMESSAGE(JTRC_EMS_CLOSE, "Freed EMS handle %u") JMESSAGE 138 jerror.h JMESSAGE(JTRC_EMS_OPEN, "Obtained EMS handle %u") JMESSAGE 139 jerror.h JMESSAGE(JTRC_EOI, "End Of Image") JMESSAGE 140 jerror.h JMESSAGE(JTRC_HUFFBITS, " %3d %3d %3d %3d %3d %3d %3d %3d") JMESSAGE 141 jerror.h JMESSAGE(JTRC_JFIF, "JFIF APP0 marker: version %d.%02d, density %dx%d %d") JMESSAGE 142 jerror.h JMESSAGE(JTRC_JFIF_BADTHUMBNAILSIZE, JMESSAGE 144 jerror.h JMESSAGE(JTRC_JFIF_EXTENSION, JMESSAGE 146 jerror.h JMESSAGE(JTRC_JFIF_THUMBNAIL, " with %d x %d thumbnail image") JMESSAGE 147 jerror.h JMESSAGE(JTRC_MISC_MARKER, "Miscellaneous marker 0x%02x, length %u") JMESSAGE 148 jerror.h JMESSAGE(JTRC_PARMLESS_MARKER, "Unexpected marker 0x%02x") JMESSAGE 149 jerror.h JMESSAGE(JTRC_QUANTVALS, " %4u %4u %4u %4u %4u %4u %4u %4u") JMESSAGE 150 jerror.h JMESSAGE(JTRC_QUANT_3_NCOLORS, "Quantizing to %d = %d*%d*%d colors") JMESSAGE 151 jerror.h JMESSAGE(JTRC_QUANT_NCOLORS, "Quantizing to %d colors") JMESSAGE 152 jerror.h JMESSAGE(JTRC_QUANT_SELECTED, "Selected %d colors for quantization") JMESSAGE 153 jerror.h JMESSAGE(JTRC_RECOVERY_ACTION, "At marker 0x%02x, recovery action %d") JMESSAGE 154 jerror.h JMESSAGE(JTRC_RST, "RST%d") JMESSAGE 155 jerror.h JMESSAGE(JTRC_SMOOTH_NOTIMPL, JMESSAGE 157 jerror.h JMESSAGE(JTRC_SOF, "Start Of Frame 0x%02x: width=%u, height=%u, components=%d") JMESSAGE 158 jerror.h JMESSAGE(JTRC_SOF_COMPONENT, " Component %d: %dhx%dv q=%d") JMESSAGE 159 jerror.h JMESSAGE(JTRC_SOI, "Start of Image") JMESSAGE 160 jerror.h JMESSAGE(JTRC_SOS, "Start Of Scan: %d components") JMESSAGE 161 jerror.h JMESSAGE(JTRC_SOS_COMPONENT, " Component %d: dc=%d ac=%d") JMESSAGE 162 jerror.h JMESSAGE(JTRC_SOS_PARAMS, " Ss=%d, Se=%d, Ah=%d, Al=%d") JMESSAGE 163 jerror.h JMESSAGE(JTRC_TFILE_CLOSE, "Closed temporary file %s") JMESSAGE 164 jerror.h JMESSAGE(JTRC_TFILE_OPEN, "Opened temporary file %s") JMESSAGE 165 jerror.h JMESSAGE(JTRC_THUMB_JPEG, JMESSAGE 167 jerror.h JMESSAGE(JTRC_THUMB_PALETTE, JMESSAGE 169 jerror.h JMESSAGE(JTRC_THUMB_RGB, JMESSAGE 171 jerror.h JMESSAGE(JTRC_UNKNOWN_IDS, JMESSAGE 173 jerror.h JMESSAGE(JTRC_XMS_CLOSE, "Freed XMS handle %u") JMESSAGE 174 jerror.h JMESSAGE(JTRC_XMS_OPEN, "Obtained XMS handle %u") JMESSAGE 175 jerror.h JMESSAGE(JWRN_ADOBE_XFORM, "Unknown Adobe color transform code %d") JMESSAGE 176 jerror.h JMESSAGE(JWRN_ARITH_BAD_CODE, "Corrupt JPEG data: bad arithmetic code") JMESSAGE 177 jerror.h JMESSAGE(JWRN_BOGUS_PROGRESSION, JMESSAGE 179 jerror.h JMESSAGE(JWRN_EXTRANEOUS_DATA, JMESSAGE 181 jerror.h JMESSAGE(JWRN_HIT_MARKER, "Corrupt JPEG data: premature end of data segment") JMESSAGE 182 jerror.h JMESSAGE(JWRN_HUFF_BAD_CODE, "Corrupt JPEG data: bad Huffman code") JMESSAGE 183 jerror.h JMESSAGE(JWRN_JFIF_MAJOR, "Warning: unknown JFIF revision number %d.%02d") JMESSAGE 184 jerror.h JMESSAGE(JWRN_JPEG_EOF, "Premature end of JPEG file") JMESSAGE 185 jerror.h JMESSAGE(JWRN_MUST_RESYNC, JMESSAGE 187 jerror.h JMESSAGE(JWRN_NOT_SEQUENTIAL, "Invalid SOS parameters for sequential JPEG") JMESSAGE 188 jerror.h JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines") JMESSAGE 199 jerror.h #undef JMESSAGE