Comments (2)
This is tricky, because more formats mean more complexity and we can only have one - so all frontends need to support the format first.
I actually played around with this for a while, and jpeg-xl (jxl) yielded by far the best quality/size ratio for the kind of data we produce (it could save about 4MB for Debian's icon tarball, which is huge!). It's pretty much on-par with png, while being vastly smaller.
So, I really would like to use it for both icons and well as screenshots (expanding the Freedesktop icon-theme spec in the process ideally, to just allow it globally). It being suitable for both icons (lossless) and screenshots (lossy) would make it a no-brainer.
The problem though is that webbrowsers only support it as an experimental option, if at all. And that is super annoying. There is nothing better for icons, where we want good quality, and AVIF would be nice, but only for screenshots, as AVIF's lossless mode only yielded results on-par with PNG and I also had some odd artifacts (granted though, I tested this way more than a year ago, so I guess these issues might be fixed now).
As soon as something is added, it's hard to remove, which is why I am currently a bit hesitant. If browsers would support JXL, that would be the ideal outcome, but at the moment it really doesn't look like it... So at least for screenshots, we might want to look into AVIF at some point (or WebP, which has a bit broader compatibility).
from appstream.
Yeah, jpeg-xl is likely still to new for browsers https://caniuse.com/?search=jpegxl
I was wondering, why we can only have one, I guess you mean, cause the catalogue points at the images.
For the website, i wouldn't need that part, so it would already be helpful for us, if appstream could create other image formats for everything and we can set that in infra, so those images get placed too. Then I could just switch over the website, as we control the image/icon code right now.
from appstream.
Related Issues (20)
- Appstreamcli validate error on Fedora HOT 4
- Stabilize AppstreamCompose API HOT 2
- Validation fails due to XML comment at the start of document HOT 3
- news-to-metainfo adds the deprecated developer_name tag HOT 2
- Missing documentation for path of operating-system info file
- Release descriptions without paragraph/ol/ul tags should fail the validator
- Newlines in XML tags breaks `appstreamcli validate`
- developer element not translatable HOT 3
- "gui-app-without-icon" and "filters-but-no-output" errors HOT 4
- Feature request: Add Fluent as translation system
- PACKAGE_PREFIX_DIR points to wrong directory
- Issue cross-compiling appstream-qt
- Unexpected warnings for 'appstream validate' on components with merge="append" HOT 1
- AppStream documentation describes "desktop applications" in too restrictive of a manner. HOT 4
- "<summary>" length limit? HOT 4
- Tag applications which interact with LLMs.
- Bug: Debian Testing build fails due to fchmodat2 syscall during documentation build
- Ship icons in svg if available HOT 5
- Conflicting information on screenshot aspect ratio recommendation
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 appstream.