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

You Might Also Like
Red Hat Ansible Automation Platform on Microsoft Azure Icon
Red Hat Ansible Automation Platform on Microsoft Azure

Red Hat Ansible Automation Platform on Azure allows you to quickly deploy, automate, and manage resources securely and at scale.

Deploy Red Hat Ansible Automation Platform on Microsoft Azure for a strategic automation solution that allows you to orchestrate, govern and operationalize your Azure environment.
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