home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / anwor032.zip / antiword.0.32 / png2sprt.c < prev    next >
C/C++ Source or Header  |  2000-10-29  |  567b  |  27 lines

  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
  21. bTranslatePNG(diagram_type *pDiag, FILE *pFile,
  22.     long lFileOffset, int iPictureLen, const imagedata_type *pImg)
  23. {
  24.     /* PNG is not supported yet */
  25.     return bAddDummyImage(pDiag, pImg);
  26. } /* end of bTranslatePNG */
  27.