bwindels / exif-parser

A javascript library to extract EXIF metadata from JPEG images, in node and in the browser.
MIT License
218 stars 53 forks source link

Can exif-parser extract XMP (Extensible Metadata Platform) tags? #35

Open avnermosh opened 4 years ago

avnermosh commented 4 years ago

I'm looking for a Javascript package to extract an extended image tag Projection Type to detect between image with projection (e.g. sphere image) and image without projection

I found another library (exifreader) that extracts XMP tags including the Projection Type tag. Since I'm looking to use well-maintained, and optimized code I compared between exif-parser, and exifreader. In terms of popularity and size, exif-parser is clearly a winner (see the table below).

But I don't find any reference to extended metadata or XMP flags in the exif-parser code. Can exif-parser extract XMP (Extensible Metadata Platform) tags?

Thanks, Avi


Comparison of exif-parser vs exifreader compare_exif_packages

mattiasw commented 11 months ago

Maintainer of ExifReader here. I know this issue is a bit old but I just wanted to mention that ExifReader has functionality for a custom build where you can specify the parts you want to use and get the gzipped bundle size down to less than 4 KiB in some cases, depending on what you need. And unlike the other three packages it is still being maintained. And it also has support for XMP. :-)