• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading the contents of a .tif in java

 
Shobha Nagesh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic