Comments (5)
From an browser support perspective, it feels a bit early to include JPEG-XL support in the web variant, as it is not supported by default in modern web browsers. For the same reason, JPEG 2000 support (besides the security issues in OpenJPEG) is also not available in the web variant since it is supported solely by Safari.
From an non-browser support perspective, besides the upstream issues listed in lovell/sharp#2731 (comment) and the concerns in the comment above, I think it is wise to wait for a new release of libjxl, because it requires backporting a lot of patches.
from build-win64-mxe.
Hello @fredprodibi,
We've discussed this a bit. Last time the subject came up (August 2021 I think) we decided that oss-fuzz was still finding quite serious issues in libjxl and that it would be wise to wait a little longer for it to stabilize.
This PR libvips/libvips#2636 has another possible solution: it adds API to let users disable loaders at runtime. We could potentially ship libjxl in -web
and users could enable it at runtime if they wished.
@lovell and @kleisauke, do you have an opinion on this?
from build-win64-mxe.
Enabling it at runtime would be a great solution for me at least
from build-win64-mxe.
libjxl seems to be much more stable recently, which is great news. I think the current (private) bugs in oss-fuzz are now all memory-related e.g. decoding <1KB input JPEG-XL image consumes >3GB of RAM, which could easily cause a DoS with untrusted input.
We'll also need to assess the increased binary size of adding libjxl so we might want to make this dependent on libvips/libvips#2688
(Should we move this discussion to the https://github.com/libvips/build-win64-mxe repo?)
from build-win64-mxe.
git master libvips (will be 8.13) now has a feature to enable or disable loaders at runtime.
from build-win64-mxe.
Related Issues (20)
- Symbols in 32-bit 8.12.0-rc1-static libvips.lib are missing underscore prefix HOT 8
- Can't install rust without being root HOT 12
- Use ImageMagick 7 or GraphicMagick HOT 6
- How to selectively build libvips for windows? HOT 12
- No branch to cross-compile latest libvips master with meson build system?
- Suggestion: add `--commit XXX` to build a specific libvips commit HOT 2
- can't build libjxl.dll and dependencies (no such file after running build.sh) HOT 20
- Use specific branch of openslide HOT 1
- Possible approaches for handling libgsf, an LGPL-2.1-only dependency HOT 1
- Error libvips-cpp-42.dll doesn't exist when build for windows HOT 1
- Run failed on 8.14.4 HOT 9
- issues with Zlib while building libvips HOT 7
- Failed to build package librsvg for target x86_64-w64-mingw32.shared.win32.all! HOT 2
- Possible improvement: use default optimisation level of -Os, selectively compile at -O3 HOT 1
- Question: Is it possible to add the latest version of vipsdisp to the release? HOT 4
- Add `--with-jpegli` HOT 2
- linking to vips failed on Windows with msys64 HOT 3
- just question on "how to build"? HOT 2
- question: Failed to build package vips-all for target x86_64-w64-mingw32.shared.posix.all! HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-win64-mxe.