comparison tools/gfxconv.c @ 1480:c3eba254bcc2

Change some message priorities.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 02:47:46 +0300
parents c4755b73b93c
children e967e8e3b8c3
comparison
equal deleted inserted replaced
1479:c4755b73b93c 1480:c3eba254bcc2
1668 int res; 1668 int res;
1669 1669
1670 if (optForcedFormat >= 0) 1670 if (optForcedFormat >= 0)
1671 { 1671 {
1672 forced = &dmC64ImageFormats[optForcedFormat]; 1672 forced = &dmC64ImageFormats[optForcedFormat];
1673 dmMsg(0,"Forced %s format image, type %d, %s\n", 1673 dmMsg(0, "Forced %s format image, type %d, %s\n",
1674 forced->name, forced->type, forced->fext); 1674 forced->name, forced->type, forced->fext);
1675 } 1675 }
1676 1676
1677 res = dmC64DecodeBMP(&inC64Image, dataBuf, dataSize, optInSkip, optInSkip + 2, &inC64Fmt, forced); 1677 res = dmC64DecodeBMP(&inC64Image, dataBuf, dataSize, optInSkip, optInSkip + 2, &inC64Fmt, forced);
1678 if (forced == NULL && inC64Fmt != NULL) 1678 if (forced == NULL && inC64Fmt != NULL)
1679 { 1679 {
1680 dmMsg(1,"Probed %s format image, type %d, %s\n", 1680 dmMsg(1, "Probed %s format image, type %d, %s\n",
1681 inC64Fmt->name, inC64Fmt->type, inC64Fmt->fext); 1681 inC64Fmt->name, inC64Fmt->type, inC64Fmt->fext);
1682 } 1682 }
1683 1683
1684 if (res == DMERR_OK) 1684 if (res == DMERR_OK)
1685 optInFormat = FFMT_BITMAP; 1685 optInFormat = FFMT_BITMAP;
1697 dmMsg(4, "Trying to probe image formats.\n"); 1697 dmMsg(4, "Trying to probe image formats.\n");
1698 if (dmImageProbeGeneric(dataBuf + optInSkip, dataSize - optInSkip, &ifmt, &index) > 0) 1698 if (dmImageProbeGeneric(dataBuf + optInSkip, dataSize - optInSkip, &ifmt, &index) > 0)
1699 { 1699 {
1700 optInFormat = FFMT_IMAGE; 1700 optInFormat = FFMT_IMAGE;
1701 optInSubFormat = index; 1701 optInSubFormat = index;
1702 dmMsg(2, "Probed %s format image.\n", ifmt->fext); 1702 dmMsg(1, "Probed %s format image.\n", ifmt->fext);
1703 } 1703 }
1704 } 1704 }
1705 1705
1706 if (optInFormat == FFMT_AUTO) 1706 if (optInFormat == FFMT_AUTO)
1707 { 1707 {