This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes 64-bit Windows TI reader? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "64-bit Windows TI reader?" Watch "64-bit Windows TI reader?" New topic
Author

64-bit Windows TI reader?

Dasha Gilmore
Greenhorn

Joined: Feb 22, 2013
Posts: 5
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
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2252
    
  47
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

Joined: Feb 22, 2013
Posts: 5
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

Joined: Aug 07, 2007
Posts: 2252
    
  47
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

Joined: Feb 22, 2013
Posts: 5
Thanks Tony, I give it a try.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 64-bit Windows TI reader?