comment valider l'image binaire dans le nœud 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.
Ali Raza