Closed alexcohn closed 5 years ago
probably this happens for me because I used a different version of readfile.cpp.
The problem has been discussed before. The current version produces Pix with bpp8 from ReadFIle.readBitmap(), and loosing alpha information is only a small issue; RGB colors get distorted, too (for grayscale bitmaps, the result may be OK).
Thank you for looking into and fixing this issue. This one was a longstanding issue.
The tests ReadFileTest.testReadFile_jpg() and ReadFileTest.testReadFile_png() fail for me, with an arm64 device.
See https://github.com/DanBloomberg/leptonica/issues/442. An easy fix inside leptronica can be pulled, but maybe I am missing something and these tests pass for you?