Closed lokiiarora closed 1 year ago
Hello, these settings can only be used when libvips was compiled with MozJPEG - see: https://www.libvips.org/API/current/VipsForeignSave.html#vips-jpegsave
The forthcoming wasm-vips v0.0.4 will switch from libjpeg-turbo to MozJPEG (commit https://github.com/kleisauke/wasm-vips/commit/cbcf75288839c3ac2313f6f8c679ee95587fe76c).
Thank you so much, are there build instructions for the same? I wanted to build it on my system and have the changes vetted with our downstream packages?
v0.0.4 is now available. For building yet-to-be-released versions, you can use the build
command available in package.json
.
https://github.com/kleisauke/wasm-vips/blob/4584bd9fe872b068f6fc8f4a8cfda918d79be68c/package.json#L40
That requires Docker and a Unix-like environment (due to the use of $(pwd)
).
Thanks @kleisauke
Certain parameters on
jpegSaveBuffer
operation are ignored and I can't seem to find why that's the case? If you could help me figure out what the bug I might be, I could help contribute?