question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to decode metadata EXIF buffer?

See original GitHub issue

Hi, I tried to console.log(metadata.exif.toString()) and it returns semi-scrambled text like below:

ExifMnv(;   ~�� ��i��%nHHRay ShanRay Shan�0230�����P�0100��P2015:08:21 23:11:23ASCIIMETAR MMMX 220347Z 07003KT 8SM OVC080 16/12 A3036 NOSIG RMK 8/07/ HZY SCR980100N�W���dc   ad
                          $�G

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
lovellcommented, Oct 15, 2019

I recently became a maintainer of the https://github.com/devongovett/exif-reader repo so was able to merge @papandreou’s fixes and publish them in a new version of the original https://www.npmjs.com/package/exif-reader module.

4reactions
jsdevtomcommented, Oct 15, 2019

exif-reader now validates the offsets in the exif blob

Read more comments on GitHub >

github_iconTop Results From Across the Web

ExifParser::decode - Exiv2 - Image metadata library and tools
Decode metadata from a buffer pData of length size with binary Exif data to the provided metadata container. The buffer must start with...
Read more >
how to read exif data and decode the image from same io ...
Reader backed by a file? (or more generally is it an io.Seeker ?). If not then there's no other solution than to simply...
Read more >
exif-reader-paras20xx - npm
A small EXIF image metadata reader. Latest version: 1.1.1, last published: ... decode raw exif data from a buffer. var metadata = exif(buf);....
Read more >
Description of Exif file format - MIT Media Lab
Marker used by Exif. The marker 0xFFE0~0xFFEF is named "Application Marker", not necessary for decoding JPEG image. They are used by user application....
Read more >
Input metadata - High performance Node.js image processing
Fast access to (uncached) image metadata without decoding any compressed pixel ... for Stream and Buffer input only; width : Number of pixels...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found