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
It actually works just fine, but I don't like getting the extraneous console output "No file extension found, attempting mime typing." I feel like it shouldn't output that, particularly since I passed in the ext.
The text was updated successfully, but these errors were encountered:
I have a Buffer called imageBuffer that I know is an image/jpeg, so I make the call to image-hash like this:
const myHash = (await util.promisify(imageHash)({ ext: 'image/jpeg', data: imageBuffer }, 16, true)).toString()
It actually works just fine, but I don't like getting the extraneous console output "No file extension found, attempting mime typing." I feel like it shouldn't output that, particularly since I passed in the ext.
The text was updated successfully, but these errors were encountered: