Skip to content

Provide a usable replacement for deprecated TiffMetadataReader.readMetadata #79

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
TiffMetadataReader.readMetadata got deprecated.

The reasoning (mentioned only in the comments, not in the Javadoc) was 
supposedly efficiency - it reads the whole file into a byte[] and then 
processes that.

Problem is, there is no usable replacement.

The other method takes a File. I don't have a File, so to use *that* method, 
now *I* have to copy all the data, only instead of copying it into a byte[], 
I'm now copying it into a File. This is obviously even slower than the method 
which got deprecated.

Please consider adding a method taking SeekableByteChannel or similar 
interface, so that we can adapt what we have to fit.

Original issue reported on code.google.com by trejkaz on 27 May 2013 at 11:51

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions