probe-image-size
probe-image-size copied to clipboard
Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO.
I have a situation where I probe a SVG file that does not exist. The code below never timeout and just hang. const result = await probe(imageUrl, { open_timeout: 5000,...
Hi there and thank you for this package! I am seeing a `MaxListenersExceededWarning` while using `createReadStream` and `probe-image-size` like follows: ```js const readStream = fs.createReadStream(filePath); const result = await probeImageSize(readStream);...
Aiming for a broader functionality, it would be useful to add jp2 support.
Refer to https://github.com/image-size/image-size/pull/89 A BMP with flip row order can be made by Photoshop:  -------- One more thing I found these two functions were named incorrectly: https://github.com/nodeca/probe-image-size/blob/158c262a7e58b8e3abd7573e2d854299146fcc37/lib/common.js#L55-L67 They actually...
needle need to be updated, the latest version has updated iconv-lite. https://github.com/tomas/needle/pull/377