Is it possible to get size of image file in Node.js? -


i using node.js , need find size of image file (.jpeg/.jpg/swf)? there tools can tell dimensions none can tell file size? there any? if yes.kindly tell

you can size of file via fs core module, using stat command - https://nodejs.org/api/fs.html#fs_fs_stat_path_callback. valid files, not images.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -