Answers for "how to validate image binary in node js"

0

how to validate image binary in node js

Use "image-size" npm module and check dimensions in try/catch, this module fails while parsing the file if the file isn't a valid image.
Posted by: Guest on April-28-2022

Code answers related to "how to validate image binary in node js"

Browse Popular Code Answers by Language