GR-PEACH barcode reader. This program uses ZBar bar code reader. ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

Dependencies:   GR-PEACH_video mbed zbar_010

Fork of GR-PEACH_Camera_in by Renesas

Embed: (wiki syntax)

« Back to documentation index

bitmap Class Reference

bitmap Class Reference

A class to communicate a bitmap. More...

#include <bitmap.h>

Public Member Functions

int Rgb888ToBmp (char *file_name, uint8_t *buf, unsigned long pic_width, unsigned long pic_height)
 convert RGB888 to bitmap

Detailed Description

A class to communicate a bitmap.

Definition at line 7 of file bitmap.h.


Member Function Documentation

int Rgb888ToBmp ( char *  file_name,
uint8_t *  buf,
unsigned long  pic_width,
unsigned long  pic_height 
)

convert RGB888 to bitmap

Parameters:
file_namesave file name
bufdata buffer address
pic_widthpicture width
pic_heightpicture height
Returns:
save data size

Definition at line 18 of file bitmap.h.