rillian/tiff2png

not wrok on Android

Closed this issue · 5 comments

use on Andoird, while coverting tiff to png, it falls

TIFFReadScanline(tif, tiffline, row, 0) < 0

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.

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?

I have not, sorry. Maybe this is helpful?

I have try ndk-pkg yet, not run ok with your code unlucky... May be this code not test successful on Android

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