dragon66 / icafe

Java library for reading, writing, converting and manipulating images and metadata
Eclipse Public License 1.0
204 stars 58 forks source link

Rewrite NativeMetadata to use an EnumMap as it's internal container #10

Closed dragon66 closed 9 years ago

dragon66 commented 9 years ago

For ease of use, it would be better to use an EnumMap as the internal container for NativeMetadata. We can then create and populate the NativeMetadata inside an ImageReader and retrieve the EnumMap and query it by enum key specific for that kind of image. - may need to create enum type for GIF specific native metadata. For JPEG, use Marker as key and for PNG, use ChunkType instead. TIFF may not need NativeMetadata at all.

dragon66 commented 9 years ago

There is no need for NativeMetadata and related code and they have been removed from the source. So close this issue.