Since you get an InputStream from HDFS, you should be able to use any standard I/O package including all of the image I/O stuff.
How do you normally read TIFF files? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thu 5/8/2008 1:02 AM To: core-user@hadoop.apache.org Subject: How to handle tif image files in hadoop Hi, I want to process the information in tif images using hadoop. For this, a BufferedImage object has to be created. For JPEG images, ImageIO is used alongwith the ByteArrayOutputStream which contains byte data of the image. But for TIFF image,this doesn't work. Is there any way to handle this problem? Also, can conventional JAI library methods be used to directly access TIFF files in HDFS? Thank you.