You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you want to pass header bytes, they should be coming from the file itself.
in your sample code, you passed hard coded header bytes which would be matching a jpeg, so it's logical it returns image/jpeg
Steps to reproduce:
lookupMimeType('Bart_Simpson_200px.png', headerBytes: [0xFF, 0xD8]);
image/jpeg
when expected result should beimage/png
The text was updated successfully, but these errors were encountered: