line_from_raw_bytes

line_from_raw_bytes function

Optical character recognition image with one text line. Allowed formats is PNG, JPG, BMP. Buffer allocated by the caller. If the buffer is null, the function returns the required buffer size in wide characters.

size_t line_from_raw_bytes(const ImageDescriptor &descriptor, wchar_t *buffer, size_t buffer_size)

Returns: size_t