Comments (4)
This PNG image appears to store its EXIF data in the relatively new eXIf
PNG chunk rather than the historic iTXt
chunk.
The eXIf
chunk doesn't include the Exif\0
prefix whereas the iTXt
chunk does.
(libpng v1.6.32+ supports the eXIf
chunk. sharp recently started providing libspng to parse PNG images, which also supports it.)
Are you able to create a PR that updates the following logic to skip ahead 5 bytes when the Exif\0
prefix is found rather than throw when it's not? The image attached to this issue would make a great test case too.
Lines 4 to 5 in 2b040eb
from exif-reader.
v1.1.0 now available with support for this - please see #21
from exif-reader.
Screenshots taken on a mac seem to "trigger" sharp to think there's exif data, but subsequently fail in exif-reader
Screenshot.2021-01-12.at.19.32.29.zip
from exif-reader.
Hi, I came across this
sanity-io@6ee2ee2
which is precisely what is asked ?
from exif-reader.
Related Issues (13)
- Doesn't work with all EXIF images HOT 2
- When there is damaged Exif header - it causes out of memory HOT 2
- data: buffer should start with "Exif" HOT 6
- Any get EXIF from video files? HOT 1
- Support for non-ASCII charsets HOT 2
- On some images Orientation gets reported incorrectly HOT 1
- Typescript Definitions HOT 3
- RFC: Use standard Exif group and tag names HOT 2
- Possible to parse dates as UTC?
- Little endian EXIF within a HEIF image HOT 5
- Wrong type definition export HOT 1
- DateTime?? or MoidyDate sometimes illegal value when the parsing day is 31st
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exif-reader.