blob: 975f7aa0eb5798b48682bcbce6d46ad3c3ddac14 [file] [log] [blame]
#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 */