13 *MSG_WRONG_USAGE =
"Usage: ./image-transformer <input> <output> <angle>";
15 *MSG_INCORRECT_ANGLE =
"Incorrect angle format. Should be one of: 0, 90, "
16 "-90, 180, -180, 270, -270";
17static const char *MSG_CANNOT_READ =
"Cannot read %s.";
19 *MSG_BAD_HEADER =
"Bad image header. Are you sure it is BMP file?";
20static const char *MSG_UNSUPPORTED_FORMAT =
21 "Wrong image format. Are you sure it is BMP file?";
23 *MSG_UNSUPPORTED_COLOR_DEPTH =
"Sorry, we support only 24-bit images >_<";
24static const char *MSG_UNSUPPORTED_COMPRESSION =
25 "Sorry, we support only uncompressed images >_<";
26static const char *MSG_BAD_FILE =
"Probably, your file is lost or corrupted.";
28 *MSG_LARGE_FILE =
"I am not sure I can fit so large file (,,>﹏<,,)";
30 *MSG_BAD_IMAGE_DATA =
"Image data is corrupted. Probably internal error.";
31static const char *MSG_CANNOT_WRITE =
"Cannot write %s.";
32static const char *MSG_SUCCESS =
"Transformed image successfully saved in %s";