Hey,
you have nice Module, but i can't use Buffer as File(path) directly.
import calipers from 'calipers';
const Calipers = calipers('png', 'jpeg');
express.post('/upload', function(req, res) {
// this is my Buffer of my uploaded file
Calipers.measure(req.files.image.data).then(...).catch(...);
});
Or if i have Stream and i get the Buffer.
The Problem is, that image-size show me wrong sizes. And i was trying your module but i can't use it without Buffer interface :(