comparison tools/libgfx.c @ 2023:362fb8295f0c

Be more informative about the actual sub-format of the IFF image (PBM/ILBM).
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 25 Oct 2018 19:21:33 +0300
parents eb6dafdd36dc
children 307a52e0dc04
comparison
equal deleted inserted replaced
2022:eb6dafdd36dc 2023:362fb8295f0c
1700 "IFF: Not a IFF ILBM/PBM file.\n"); 1700 "IFF: Not a IFF ILBM/PBM file.\n");
1701 } 1701 }
1702 1702
1703 iff.planar = (idsig == IFF_ID_ILBM); 1703 iff.planar = (idsig == IFF_ID_ILBM);
1704 1704
1705 dmMsg(3, "IFF: FORM data size %d\n", 1705 dmMsg(3, "IFF: FORM is %s format image, with size %d bytes.\n",
1706 chunk.size); 1706 iff.planar ? "ILBM" : "PBM", chunk.size);
1707 1707
1708 while (!parsed && !dmfeof(fp)) 1708 while (!parsed && !dmfeof(fp))
1709 { 1709 {
1710 // Read chunk header 1710 // Read chunk header
1711 if ((res = dmReadIFFChunkHdr(fp, &chunk)) != DMERR_OK) 1711 if ((res = dmReadIFFChunkHdr(fp, &chunk)) != DMERR_OK)