metadata-extractor
metadata-extractor copied to clipboard
Support to read metadata from JPEG2000 files
Please add support to read metadata from JPEG2000 files.
Sample image relax.jp2 relax.zip attached (downloaded from https://www.fnordware.com/j2k/jp2samples.html)
Sample code:
File file = new File("relax.jp2");
try (InputStream is = new FileInputStream(file)) {
Metadata metadata = ImageMetadataReader.readMetadata(is, file.length());
}
Stack trace
com.drew.imaging.ImageProcessingException: File format could not be determined
at com.drew.imaging.ImageMetadataReader.readMetadata(ImageMetadataReader.java:185)
at com.drew.imaging.ImageMetadataReader.readMetadata(ImageMetadataReader.java:124)
May I be assigned to this issue to implement this feature?
@Hsstone1 thank you for volunteering. There is no need to be assigned before you start working on the feature, though it's a good idea to declare you intention to avoid duplication of effort. In this case I believe you are in the clear.
Reach out here if you have any questions.
Once you have completed your analysis, if you'd like to share your thinking then we can validate your approach. This may save you some time overall.
@drewnoakes : Thanks for your work on this great library!
Is there any news regarding the support of JPG2000 files? Thank you.
No news. It will likely require someone who needs this support to implement it.