8

I am trying to load TIFF's in an Android application. However I cannot find a native Android loader for TIFF files. Does anyone have some pointers? I am reluctant to go down the JNI route as I feel sure there must be a simpler option!

David Martin
  • 1,045
  • 2
  • 11
  • 14

3 Answers3

3

There is Google project going on this. please check this: Tiffonandroid

you can find all the related information here.

Praveenkumar
  • 24,084
  • 23
  • 95
  • 173
Ankit Jain
  • 2,230
  • 1
  • 18
  • 25
2

Here is my library that allow to choose some decode parameters for tiff (f.e. page for multipage tiff) https://github.com/Beyka/Android-TiffBitmapFactory

Beyka
  • 1,372
  • 1
  • 10
  • 15
  • Pulled some hairs while searching for a way to open my Tiffs to Bitmaps in Android until I found this library. Worked great for me! Thanks +1 – DarkCygnus May 29 '18 at 17:53
0

Java Advanced Imaging (JAI) is the best solution. It has a decoder and encoder for TIFF files.

Delimitry
  • 2,987
  • 4
  • 30
  • 39
  • 3
    Unfortunately the Android doesn't have JAI, or imageio. :( If there is a way to sneak them on and make them work I'd like to know. – David Martin Jul 11 '11 at 05:16