kleisauke / wasm-vips

libvips for the browser and Node.js, compiled to WebAssembly with Emscripten.
https://kleisauke.github.io/wasm-vips/
MIT License
492 stars 25 forks source link

Add AVIF support #36

Closed RReverser closed 1 year ago

RReverser commented 1 year ago

Note this currently doesn't port upstream tests; not sure if I'll get around to that, but figured I'll submit PR anyway.

RReverser commented 1 year ago

Converted to draft because, aside from tests, this clearly needs more work to be supported as a dynamic module.

kleisauke commented 1 year ago

Great! I was able to support this as a dynamic module and also added some test coverage for this (by porting libvips' AVIF tests). https://github.com/RReverser/wasm-vips/compare/avif...kleisauke:wasm-vips:avif-RReverser

RReverser commented 1 year ago

Great! I was able to support this as a dynamic module and also added some test coverage for this (by porting libvips' AVIF tests).

Feel free to push directly to my PR, might be easier than tracking across different branches.

RReverser commented 1 year ago

Or, alternatively, I can close mine and you open yours. Whichever is easier.

kleisauke commented 1 year ago

Feel free to push directly to my PR, might be easier than tracking across different branches.

I just pushed it to the branch associated with this PR.