shithub: riscv

ref: f70cf0b70eb2b9b6cdf7208bf775189c724eb446
dir: /sys/src/cmd/aux/antiword/png2sprt.c/

View raw version
/*
 * png2sprt.c
 * Copyright (C) 2000 A.J. van Os; Released under GPL
 *
 * Description:
 * Functions to translate png pictures into sprites
 */

#include <stdio.h>
#include "antiword.h"


/*
 * bTranslatePNG - translate a PNG picture
 *
 * This function translates a picture from png to sprite
 *
 * return TRUE when sucessful, otherwise FALSE
 */
BOOL
bTranslatePNG(diagram_type *pDiag, FILE *pFile,
	ULONG ulFileOffset, size_t tPictureLen, const imagedata_type *pImg)
{
	/* PNG is not supported yet */
	return bAddDummyImage(pDiag, pImg);
} /* end of bTranslatePNG */