Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

64-bit Windows TI reader?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to read TIF images in Java on a 64-bit Windows machine. I'd like to use all the memory I can as the files will be large, so a 32-bit JAI option would not work.

Is there another open source or freeware Java package out there that would read TIF files?

I looked at javax.imageio.ImageIO , but unless the doc I read is out of date, it seems this class only handles GIF, JPEG, PNG, WBMP and BMP.

Thanks
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe you need to install the Java Advanced Imaging (JAI) ImageIO JARs to be able to read and write TIFF files.
 
Dasha Gilmore
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But is JAI a 32-bit set-up/limit? I am looking for a 64-bit solution so i can use more memory.

Thanks,
 
Tony Docherty
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are no 64 bit native binaries for JAI and from what I've read it's unlikely there will ever be any but I believe it is possible to use the package in pure Java software only mode which will then run on a 64 bit JDK. I assume there will be some performance hit (possibly huge) for doing this else why would they supply the binaries in the first place.

There's an article here which explains a bit more about this:
 
Dasha Gilmore
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tony, I give it a try.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic