1 /*
2 * png2sprt.c
3 * Copyright (C) 2000 A.J. van Os; Released under GPL
4 *
5 * Description:
6 * Functions to translate png pictures into sprites
7 */
8
9 #include <stdio.h>
10 #include "antiword.h"
11
12
13 /*
14 * bTranslatePNG - translate a PNG picture
15 *
16 * This function translates a picture from png to sprite
17 *
18 * return TRUE when sucessful, otherwise FALSE
19 */
20 BOOL
bTranslatePNG(diagram_type * pDiag,FILE * pFile,ULONG ulFileOffset,size_t tPictureLen,const imagedata_type * pImg)21 bTranslatePNG(diagram_type *pDiag, FILE *pFile,
22 ULONG ulFileOffset, size_t tPictureLen, const imagedata_type *pImg)
23 {
24 /* PNG is not supported yet */
25 return bAddDummyImage(pDiag, pImg);
26 } /* end of bTranslatePNG */
27