An extension of TorchVision for decoding AVIF and HEIC images.
Usage
Assuming torchvision is already installed:
$ pip install torchvision-extra-decoders
Then, you can use the HEIC and AVIF decoders from torchvision like the other decoders (docs):
from torchvision.io import decode_image, decode_heic, decode_avif
img = decode_image("image.heic")
img = decode_image("image.avif")
img = decode_heic("image.heic")
img = decode_avif("image.avif")
LICENSE
This project is released under the LGPL 2.1 License.
Metadata
Release files for torchvision-extra-decoders 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 78.2 MB
Release files / torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cab6f956a8c02e5eaacb80ff6e4a045f1e4484692a81820602e7580fcf5d9d7f
|
|
BLAKE2b-256 checksum How to use checksums |
909464c9de002aaaf20e6283f68bfd1c0d1c9757e66cc711ccf5575677f7f033
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c7308c561292a0dc9aed7d09f9f52962c365e3c1a380a17f437e280a45a36e48
|
|
BLAKE2b-256 checksum How to use checksums |
5d5d85a6939f1fbd4c0d7168f492301149373dc8dbd16105961e5bb5ebad0d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b591b4f64a8389f7e28473673a8a3a526d8f2bf55f85b9ca58d24399ff1e4485
|
|
BLAKE2b-256 checksum How to use checksums |
5f3b2d26447bae4116d9d47516454aa820542d3e4dd29656caaaf45089e6c37d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b119ffb98dd4b57d167b3b66aa77fc7d528926c483bd856c65b6169f9cb5d8be
|
|
BLAKE2b-256 checksum How to use checksums |
f3e06129d2970543871261c8375de09c2f0b91578fd95c38c315ef32e188cee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|