DC_ConvertMonoPicture
The function converts a 24 bit color BMP file to 1 bit monochrome BMP file. LONG DC_ConvertMonoPicture( LPCTSTR szfilepath, LPCTSTR tgfilepath, ); Parameters szfilepath is the path and name of the color picture file.(must be a 24 bit color .bmp file) tgfilepath is the path and name of converted monochrome picture file(1 bit monochrome .bmp file). Return Values SPRT_SUCCEED indicates success, SPRT_FAILED indicates failure © 2012 SPRT . All rights reserved.
The function converts a 24 bit color BMP file to 1 bit monochrome BMP file.
LONG DC_ConvertMonoPicture( LPCTSTR szfilepath, LPCTSTR tgfilepath, );
Parameters
szfilepath
is the path and name of the color picture file.(must be a 24 bit color .bmp file)
tgfilepath
is the path and name of converted monochrome picture file(1 bit monochrome .bmp file).
Return Values
SPRT_SUCCEED indicates success, SPRT_FAILED indicates failure
© 2012 SPRT . All rights reserved.