On windows, this will only read tiff formatted files from memory. For other formats, it requires fmemopen(3). Attempts to read those formats will fail at runtime. (3)
Whilst it won't resolve the issue, this is my first step at tackling
https://github.com/houqp/leptess/issues/43. The next step will be to add
and use the leptonica methods that support tiff from disk and PixA.
My comment about tiff and windows is because of this documentation https://tpgit.github.io/Leptonica/leptprotos_8h.html#a027a927dc3438192e3bdae8c219d7f6a
Whilst it won't resolve the issue, this is my first step at tackling https://github.com/houqp/leptess/issues/43. The next step will be to add and use the leptonica methods that support tiff from disk and
PixA
.