Exifr is a fast and very versatile JavaScript EXIF reading library that works everywhere, parses everything and handles just about anything you throw at it. It can handle any input: buffers, url, <img> tag and more; .jpg, .tif, and .heic files; and TIFF (EXIF, GPS, etc.), XMP, ICC, IPTC, JFIF segments. It skips parsing tags you don’t need, and reads only the first few bytes. There’s no need to read the whole file to see if there’s an EXIF file in it, or extract all the data when you just need a few tags. Instead of reading byte by byte from start to finish, Exifr jumps through the file structure from pointer to pointer, making it extremely fast and efficient!

Features

  • Extremely fast: +-1ms per file
  • Handles any input
  • .jpg, .tif, .heic files
  • TIFF (EXIF, GPS, etc.), XMP, ICC, IPTC, JFIF segments
  • Reads only first few bytes
  • Skips parsing tags you don't need
  • Isomorphic: Browser & Node.js
  • Zero dependencies
  • Thumbnail extraction
  • Salvages broken files
  • Modular
  • Customizable tag dictionaries
  • Bundled as ESM or UMD/CJS
  • Tested and benchmarked
  • Promise based
  • Supports even IE10
  • Minimalist and reliable XMP Parser
  • XMP Extended
  • Multi-segment ICC
  • Extracts all ICC tags
  • TIFF dictionaries contain less frequently used, non-standard and proprietary TIFF/EXIF tags (only in full bundle)
  • Handles UCS2 formatted strings (XPTitle tag), and not leaving it as a buffer
  • Normalizes strings
  • Revives dates into Date class instances
  • Conversion of GPS coords from DMS to DD format

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Exifr

Exifr Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Exifr!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2020-06-04