unjs / ipx

🖼️ High performance, secure and easy-to-use image optimizer.
MIT License
1.53k stars 61 forks source link

feat: get metadata with sharp #134

Closed pi0 closed 10 months ago

pi0 commented 1 year ago

Redo https://github.com/unjs/ipx/pull/117

pi0 commented 10 months ago

Coming back to this, considering we might make sharp an optional dependency to support other formatters, as well as to keep initial stage (meta detection) pure js and non async, i think makes sense to keep supporting image-meta