Is there a command that will let me get the properties of an image file (width & height) without having to actually load the file?
fs.statSync(pathAndFilename) will give me the file size, but no width/height info. I'd really prefer to not have to load the file as I want to do a heap of these as the database is being loaded.
fs.statSync(pathAndFilename) will give me the file size, but no width/height info. I'd really prefer to not have to load the file as I want to do a heap of these as the database is being loaded.