decoder: Support animated formats (GIF, WEBP, APNG)

Closes #27
This commit is contained in:
Sophie Herold 2023-03-15 22:35:59 +01:00 • committed by Christopher Davis
parent ea9063de0f
commit f33c4bd470
9 changed files with 368 additions and 80 deletions

View file

@ -17,23 +17,23 @@ Bundles will not be automatically updated after installation.
## Supported Formats
| Format | ICC | CICP | EXIF | XMP | Animation | Library |
|----------|-----|------|------|-----|-----------|-------------------------------|
| JPEG | ✔ | — | ✔ | ✘ | — | image-rs |
| PNG | ✔ | ✘ | ✔ | ✘ | ✘ | image-rs |
| GIF | ✘ * | — | — | ✘ | ✘ | image-rs |
| WEBP | — | — | ✔ | ✘ | ✘ | image-rs |
| AVIF | ✔ | ✔ | ✔ | ✘ | ✘ | libheif-rs + libheif (C++) |
| HEIC | ✔ | ✔ | ✔ | ✘ | ✘ | libheif-rs + libheif (C++) ** |
| TIFF | ✘ | — | ✔ | ✘ | — | image-rs |
| SVG | ✘ | — | — | ✘ * | — | librsvg |
| BMP | ✘ | — | — | — | — | image-rs |
| ICO | — | — | — | — | — | image-rs |
| PNM | — | — | — | — | — | image-rs |
| DDS | — | — | — | — | — | image-rs |
| TGA | — | — | — | — | — | image-rs |
| OpenEXR | — | — | — | — | — | image-rs |
| farbfeld | — | — | — | — | — | image-rs |
| Format | View | Optional | ICC | CICP | EXIF | XMP | Animation | Library |
|-----------|------|----------|-----|------|------|-----|-----------|----------------------------|
| AVIF | ✔ | ✔ | ✔ | ✔ | ✔ | ✘ | ✘ | libheif-rs + libheif (C++) |
| BMP | ✔ | | ✘ | — | — | — | — | image-rs |
| DDS | ✔ | | — | — | — | — | — | image-rs |
| farbfeld | ✔ | | — | — | — | — | — | image-rs |
| GIF | ✔ | | ✘ * | — | — | ✘ | ✔ | image-rs |
| HEIC | ✔ | ✔ | ✔ | ✔ | ✔ | ✘ | ✘ | libheif-rs + libheif (C++) |
| ICO | ✔ | | — | — | — | — | — | image-rs |
| JPEG | ✔ | | ✔ | — | ✔ | ✘ | — | image-rs |
| OpenEXR | ✔ | | — | — | — | — | — | image-rs |
| PNG | ✔ | | ✔ | ✘ | ✔ | ✘ | ✔ | image-rs |
| PNM | ✔ | | — | — | — | — | — | image-rs |
| SVG | ✔ | | ✘ | — | — | ✘ * | — | librsvg |
| TGA | ✔ | | — | — | — | — | — | image-rs |
| TIFF | ✔ | | ✘ | — | ✔ | ✘ | — | image-rs |
| WEBP | ✔ | | — | — | ✔ | ✘ | ✔ | image-rs |
| Symbol | Meaning |
|--------|------------------------------------------------|