黑白图像判断
This commit is contained in:
parent
49741614f5
commit
33f057b5c0
|
@ -1856,7 +1856,8 @@ int hg_scanner::save_final_image(hg_imgproc::LPIMGHEAD head, void* buf)
|
|||
std::string bw("");
|
||||
|
||||
final_img_index_++;
|
||||
if (image_prc_param_.bits.color_mode == COLOR_MODE_BLACK_WHITE)
|
||||
//if (image_prc_param_.bits.color_mode == COLOR_MODE_BLACK_WHITE)
|
||||
if(img_conf_.pixtype == 0)
|
||||
{
|
||||
int old = head->line_bytes;
|
||||
bw = bmp_821((unsigned char*)buf, head->width, head->height, &head->line_bytes, async_io_);
|
||||
|
|
Loading…
Reference in New Issue