Mercurial > hg > dmlib
comparison tools/gfxconv.c @ 1522:0d1cf72fb732
Clarify the "probed" messages of gfxconv.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 May 2018 23:26:24 +0300 |
parents | 61a5bbaf8d5c |
children | 532c3ceaec1a |
comparison
equal
deleted
inserted
replaced
1521:b86a0aee25fa | 1522:0d1cf72fb732 |
---|---|
1685 } | 1685 } |
1686 | 1686 |
1687 res = dmC64DecodeBMP(&inC64Image, dataBuf, dataSize, optInSkip, optInSkip + 2, &inC64Fmt, forced); | 1687 res = dmC64DecodeBMP(&inC64Image, dataBuf, dataSize, optInSkip, optInSkip + 2, &inC64Fmt, forced); |
1688 if (forced == NULL && inC64Fmt != NULL) | 1688 if (forced == NULL && inC64Fmt != NULL) |
1689 { | 1689 { |
1690 dmMsg(1, "Probed %s format image, type %d, %s\n", | 1690 dmMsg(1, "Probed '%s' format image, type %d, %s\n", |
1691 inC64Fmt->name, inC64Fmt->type, inC64Fmt->fext); | 1691 inC64Fmt->name, inC64Fmt->type, inC64Fmt->fext); |
1692 } | 1692 } |
1693 | 1693 |
1694 if (res == DMERR_OK) | 1694 if (res == DMERR_OK) |
1695 optInFormat = FFMT_BITMAP; | 1695 optInFormat = FFMT_BITMAP; |
1707 dmMsg(4, "Trying to probe image formats.\n"); | 1707 dmMsg(4, "Trying to probe image formats.\n"); |
1708 if (dmImageProbeGeneric(dataBuf + optInSkip, dataSize - optInSkip, &ifmt, &index) > 0) | 1708 if (dmImageProbeGeneric(dataBuf + optInSkip, dataSize - optInSkip, &ifmt, &index) > 0) |
1709 { | 1709 { |
1710 optInFormat = FFMT_IMAGE; | 1710 optInFormat = FFMT_IMAGE; |
1711 optInSubFormat = index; | 1711 optInSubFormat = index; |
1712 dmMsg(1, "Probed %s format image.\n", ifmt->fext); | 1712 dmMsg(1, "Probed '%s' format image.\n", ifmt->fext); |
1713 } | 1713 } |
1714 } | 1714 } |
1715 | 1715 |
1716 if (optInFormat == FFMT_AUTO) | 1716 if (optInFormat == FFMT_AUTO) |
1717 { | 1717 { |