#define IMAGE_ERROR(ctx, type, msg...) image_context_msg((ctx), IMAGE_MSG_ERROR | (type), msg)
#define IMAGE_TRACE(ctx, level, msg...) do { \
#define IMAGE_ERROR(ctx, type, msg...) image_context_msg((ctx), IMAGE_MSG_ERROR | (type), msg)
#define IMAGE_TRACE(ctx, level, msg...) do { \