page_all

page_all function

Optical character recognition image without automatic detection of text areas Get all image as text area. Correct skew of the text according to parameter. Allowed formats is PNG, JPG, BMP. Buffer allocated by the caller. If the buffer is null, the function returns the required buffer size.

size_t page_all(const char *image_path, wchar_t *buffer, size_t buffer_size, bool correct_skew)

Returns: size_t