png2sprt.c 572 B

1234567891011121314151617181920212223242526
  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. #include <stdio.h>
  9. #include "antiword.h"
  10. /*
  11. * bTranslatePNG - translate a PNG picture
  12. *
  13. * This function translates a picture from png to sprite
  14. *
  15. * return TRUE when sucessful, otherwise FALSE
  16. */
  17. BOOL
  18. bTranslatePNG(diagram_type *pDiag, FILE *pFile,
  19. ULONG ulFileOffset, size_t tPictureLen, const imagedata_type *pImg)
  20. {
  21. /* PNG is not supported yet */
  22. return bAddDummyImage(pDiag, pImg);
  23. } /* end of bTranslatePNG */