-
Notifications
You must be signed in to change notification settings - Fork 272
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
Image file with Incorrect extension #646
Labels
enhancement
New feature or request
Comments
Yes, we have thought about changing that. Actually we already have this functionality build in...
But as we use both the EPPlus build in image reader and System.Drawing (for Windows), it requires some extra work. It's a good idea and we will look at it for a future version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I received an excel file from a third party.
The file contains an image with the extension of ".tmp" instead of ".png"
The bytes loaded from the file contain the signature of a png file (0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A)
Most but not all the file types contain signatures. It may be more reliable
to
rely on the signatures instead of file extension where there is binary data available.becomes
The text was updated successfully, but these errors were encountered: