Skip to main content

Tiff Metadata

1 reply [Last post]
sportinguista
Offline
Joined: 2010-05-30

Hi, could you put a simple code to catch geotiff metadata and write it to an output file, please?

Thank you!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
broumbroum
Offline
Joined: 2010-04-24

1. Read Geo Tiff Tag reference from TIFF 6.0 spec and then you should have the name of geo tiff tag.

2. Java Image IO provides then a TIFFDirectory and other GEOTiffTagSet that you have to make readable in the TiffImageReadParam you addAllowedTagSet(EXIFTagSet...).

3. A TiffDirectory will assist you to read IIOMetadata you receive from ImageReader.

cu