wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Reading the contents of a .tif in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Reading the contents of a .tif in java" Watch "Reading the contents of a .tif in java" New topic
Author

Reading the contents of a .tif in java

Shobha Nagesh
Greenhorn

Joined: Jun 19, 2012
Posts: 1
Hi,
I have a requirement wherein i have to read the contents of a TIF file in java.
The file contains demographics of a customer and i would need to extract these details.
Can anyone please let me know how this can be achieved in java.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
The javax.imageio.ImageIO class has methods that you can use to read a TIFF file if properly enabled (see http://www.coderanch.com/t/445956/open-source/add-tiff-writer-imageio-package).

If the TIFF has text rendered into it you're in the realm of OCR, and you need to find some suitable implementation (like Tesseract, which has Java bindings IIRC).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading the contents of a .tif in java