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