Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format/library/license overview #510

Open
maia-s opened this issue Jan 25, 2025 · 0 comments
Open

Format/library/license overview #510

maia-s opened this issue Jan 25, 2025 · 0 comments

Comments

@maia-s
Copy link

maia-s commented Jan 25, 2025

I made an overview over which formats are supported by which backends and what libraries they bring in/depend on. Can it be added to the docs somewhere?

Notes:

  • If backends STB/WIC/ImageIO are used, libraries aren't used for formats they support
  • ImageIO overrides built-in for supported formats
  • QOI is the only built-in format that isn't Zlib licensed
  • AVIF and JXL have a lot of dependencies with different licenses that are hard to work out

(License ids are in SPDX format)

Format Built-in STB WIC ImageIO Library
avif libavif (BSD-2-Clause) + aom (BSD-2-Clause) + dav1d (BSD-2-Clause) + ...
bmp
gif
jpg libjpeg (IJG-short)
jxl libjxl (BSD-3-Clause) + ...
lbm
pcx
png libpng (Libpng) + libz (Zlib)
pnm
qoi ✅ (MIT)
svg
tga
tif libtiff (libtiff)
webp libwebp (BSD-3-Clause)
xcf
xpm
xv
| Format | Built-in | STB | WIC | ImageIO | Library |
| ------ | :------: | :-: | :-: | :-----: | ------- |
| avif   |          |     |     |         | libavif (BSD-2-Clause) + aom (BSD-2-Clause) + dav1d (BSD-2-Clause) + ... |
| bmp    ||     |     ||         |
| gif    ||     |     ||         |
| jpg    |          |||| libjpeg (IJG-short) |
| jxl    |          |     |     |         | libjxl (BSD-3-Clause) + ... |
| lbm    ||     |     |         |         |
| pcx    ||     |     |         |         |
| png    |          |||| libpng (Libpng) + libz (Zlib) |
| pnm    ||     |     |         |         |
| qoi    | ✅ (MIT) |     |     |         |         |
| svg    ||     |     |         |         |
| tga    ||     |     ||         |
| tif    |          |     ||| libtiff (libtiff) |
| webp   |          |     |     |         | libwebp (BSD-3-Clause) |
| xcf    ||     |     |         |         |
| xpm    ||     |     |         |         |
| xv     ||     |     |         |         |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant