3 ms·
This guy is just crazy. https://github.com/libexif/libexif https://github.com/libexif/libexif exists and is much easier to use than compiling perl to wasm, just
by rurban 2y ago
This guy is just crazy. https://github.com/libexif/libexif https://github.com/libexif/libexif exists and is much easier to use than compiling perl to wasm, just to run the overly slow exiftool.
- transpute 2y agoThere are security benefits to WASM sandboxing of client-side parsing of untrusted image files, to avoid scenarios like https://imagetragick.com https://imagetragick.com
- andrew_rfc 2y agoI’m not sure where you got the idea it’s slow, but it executes within 30% of native speed. Which means extracting the metadata from a 30 GB pro video in my test takes 300-400ms. Speaking of - libexif doesn’t support a lot of file formats, whereas ExifTool does. If I always opt to choose the easiest path then I’m setting a precedent for myself that I will compromise on all my goals for half finished solutions that take me further from initial idea.