Mercurial > hg > dmlib
comparison tools/libgfx.h @ 1892:cbc911ffd21e
Rename ILBM functions to IFF, which is more approriate as we support both ILBM and PBM variants of the IFF images.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 25 Jun 2018 19:36:26 +0300 |
parents | 1af79412f249 |
children | f80b2dc77c30 |
comparison
equal
deleted
inserted
replaced
1891:91b80990043c | 1892:cbc911ffd21e |
---|---|
20 enum | 20 enum |
21 { | 21 { |
22 DM_IMGFMT_PNG, | 22 DM_IMGFMT_PNG, |
23 DM_IMGFMT_PPM, | 23 DM_IMGFMT_PPM, |
24 DM_IMGFMT_PCX, | 24 DM_IMGFMT_PCX, |
25 DM_IMGFMT_ILBM, | 25 DM_IMGFMT_IFF, |
26 DM_IMGFMT_RAW, | 26 DM_IMGFMT_RAW, |
27 DM_IMGFMT_ARAW, | 27 DM_IMGFMT_ARAW, |
28 }; | 28 }; |
29 | 29 |
30 | 30 |
137 #endif | 137 #endif |
138 | 138 |
139 int dmWritePCXImage(DMResource *fp, const DMImage *img, const DMImageConvSpec *spec); | 139 int dmWritePCXImage(DMResource *fp, const DMImage *img, const DMImageConvSpec *spec); |
140 int dmReadPCXImage(DMResource *fp, DMImage **pimg); | 140 int dmReadPCXImage(DMResource *fp, DMImage **pimg); |
141 | 141 |
142 int dmReadILBMImage(DMResource *fp, DMImage **pimg); | 142 int dmReadIFFImage(DMResource *fp, DMImage **pimg); |
143 | 143 |
144 | 144 |
145 typedef struct _DMBitStreamContext | 145 typedef struct _DMBitStreamContext |
146 { | 146 { |
147 void *handle; | 147 void *handle; |