New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProbeError: unrecognized file format #57
Comments
More simple way to reproduce: node ./support/dump.js https://upload.wikimedia.org/wikipedia/commons/e/e7/Obcine_Slovenija_2007_Sveti_Jurij_v_Slovenskih_goricah.svg
ProbeError: unrecognized file format
at ParserStream.parserEnd (/home/vitaly/Dropbox/Coding/probe-image-size/stream.js:39:28)
at Object.onceWrapper (events.js:421:28)
at ParserStream.emit (events.js:315:20)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
code: 'ECONTENT' Probably a bug. |
Fixed, thanks for reporting. The problem was that that svg had byte order mark which we didn't expect. |
Released 7.1.1 |
This is fixed, thank you! However, please see #61. There are other images which are still not working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment: node 14.15.1 on Windows 10
probe-image-size: 7.1.0
Stacktrace:
Code used:
The text was updated successfully, but these errors were encountered: