option to compile with liblqr?
How might I go about adding liquid-rescale support via libqr?
Libqr has dependency glib. I didn't see much on compiling glib in webassembly other than https://brionv.com/log/2018/05/27/emscripten-fun-libffi-on-webassembly-part-2/ .
So either figure out how to compile glib in webassembly, or replace the glib dependency in libqr with something else (not sure how much effort required).
After that update https://github.com/KnicKnic/WASM-ImageMagick/blob/master/build.sh to reference libqr library (build.sh also builds other libraries like zlib and can be a hint on how to build stuff for webassembly).
This project uses docker to give you a good emscripten build environment, the following command will build this project when run from the root directory (assuming you have docker installed).
docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh"