कारतोफ्फेलस्क्रिप्ट™
कारतोफ्फेलस्क्रिप्ट™
@dokime7 what library are you using?
a large chunk of this work is investigating the HEIF container format & figuring out how to parse out the relevant "boxes". If you can find some definitive & concise...
@phal0r the key feature of this module is that it doesn't pull in any heavy dependencies. That said, I've tried using libheif directly, and while it worked for heif/heic files,...
@phal0r yeah. we've already had a valid detection code for 3 years now (not in `main` yet). what we're blocked by is everything else. 
yep, that's exactly what i meant :smile: btw, if type detection is all you need, perhaps look into [the excellent `image-type` module by sindresorhus](https://github.com/sindresorhus/image-type). it detects a few more formats...
@ktiniatros the 2 problems with this code are 1. `imagesize(chunk)` throws for bad data, you need to catch that error. 2. `this.read()` from `needle` would give you a chunk read...
@c060604 `dng` are raw files. I've created a separate issue for that #136
@geogeim it's the other way around. Tiff isn't supported when using the async api for files. but if you already have an entire tiff file in buffer, you can pass...
@wildansupernova can you please share the code with us?
@wildansupernova TIFF don't support streams or buffers (yet). please try something this instead: ```typescript import { promisify } from "util" import { imageSize } from "image-size" const sizeOf = promisify(imageSize)...