more relevant question

OK,I am trying to read a .tif file using ImageIO.read(File f). This does not give me any errrors but I cannot obtain any information about the BufferedImage that results, neither width nor height nor geting RGB pixel values.
[238 byte] By [jputhiama] at [2007-10-2 21:32:17]
# 1

The bytes would have to be parsed before a BufferImage can be created. Although both work in a bit-mapped model, TIFF format has 'leading bytes' giving information about the image. There are third party parsers (I'm not sure if one is included in a Sun API). Alternatively the format is opensource and not complex in the slightest, with minimal research a parsing class could be written.

Bamkin

bamkin-ov-lestaa at 2007-7-14 0:45:47 > top of Java-index,Security,Cryptography...