not wrok on Android
Closed this issue · 5 comments
DLTech21 commented
use on Andoird, while coverting tiff to png, it falls
TIFFReadScanline(tif, tiffline, row, 0) < 0
rillian commented
That suggests the data you're passing isn't supported by libtiff, or possibly that something is miscompiled. Without more information it's difficult to say what might be wrong.
DLTech21 commented
the same data passing on Mac or webassembly both work, that was wried.... I think libtiff built by ndk was miscompiled. Have you built libtiff by ndk before?
DLTech21 commented
I have try ndk-pkg yet, not run ok with your code unlucky... May be this code not test successful on Android
DLTech21 commented
I found this image can not convert on Android, can you fix it, if you need ndk static library , I can send that...Thank you
image_86.tif.zip