#ifndef __NG_WINBMPFILEFORMAT_H | |
#define __NG_WINBMPFILEFORMAT_H | |
/** | |
* BMP Decoder | |
*/ | |
#include "NgCommon.h" | |
#include "NgImageData.h" | |
/** | |
* BmpDecoderReadImage | |
* | |
* Decode the content of a bmp file. | |
* | |
* in : the input stream | |
* image : a pointer to a ng_bitmap_image_t | |
* | |
* return: ERR_OK if the image was correctly built from the input stream | |
* ERR_NG otherwise. | |
*/ | |
ng_err_t NgBmpDecoderReadImage (ng_stream_t *in, ng_bitmap_image_t *image); | |
#endif /* __NG_WINBMPFILEFORMAT_H */ |