27 #ifdef USE_WINDOWS_MESSAGEBOX 32 #define EXIT_FAILURE 1 44 #ifdef NEED_SHORT_EXTERNAL_NAMES 45 #define jpeg_std_message_table jMsgTable 48 #define JMESSAGE(code,string) string , 73 (*cinfo->err->output_message) (cinfo);
103 (*cinfo->err->format_message) (cinfo,
buffer);
105 #ifdef USE_WINDOWS_MESSAGEBOX 107 MessageBox(GetActiveWindow(),
buffer,
"JPEG Library Error",
108 MB_OK | MB_ICONERROR);
111 fprintf(stderr,
"%s\n",
buffer);
138 (*err->output_message) (cinfo);
144 (*err->output_message) (cinfo);
161 const char * msgtext = NULL;
176 if (msgtext == NULL) {
184 while ((ch = *msgptr++) !=
'\0') {
186 if (*msgptr ==
's') isstring =
TRUE;
214 cinfo->err->num_warnings = 0;
216 cinfo->err->msg_code = 0;
error_exit(j_common_ptr cinfo)
char s[JMSG_STR_PARM_MAX]
const char *const * addon_message_table
output_message(j_common_ptr cinfo)
union jpeg_error_mgr::@6 msg_parm
const char *const jpeg_std_message_table[]
emit_message(j_common_ptr cinfo, int msg_level)
format_message(j_common_ptr cinfo, char *buffer)
std::string sprintf(char const *__restrict fmt,...)
const char *const * jpeg_message_table
png_infop png_bytep buffer
reset_error_mgr(j_common_ptr cinfo)
jpeg_std_error(struct jpeg_error_mgr *err)
jpeg_destroy(j_common_ptr cinfo)