An extension of torchvision for decoding AVIF and HEIC images.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 19.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cab6f956a8c02e5eaacb80ff6e4a045f1e4484692a81820602e7580fcf5d9d7f
|
|
| MD5 |
b8066a4fb295135d5e831437af934661
|
|
| BLAKE2b-256 |
909464c9de002aaaf20e6283f68bfd1c0d1c9757e66cc711ccf5575677f7f033
|
File details
Details for the file torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 19.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7308c561292a0dc9aed7d09f9f52962c365e3c1a380a17f437e280a45a36e48
|
|
| MD5 |
23a3a10b3d9d26e45ba8d11c47be2131
|
|
| BLAKE2b-256 |
5d5d85a6939f1fbd4c0d7168f492301149373dc8dbd16105961e5bb5ebad0d5a
|
File details
Details for the file torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 19.6 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b591b4f64a8389f7e28473673a8a3a526d8f2bf55f85b9ca58d24399ff1e4485
|
|
| MD5 |
a0ee688fc862ee3497703bfeff68b0ac
|
|
| BLAKE2b-256 |
5f3b2d26447bae4116d9d47516454aa820542d3e4dd29656caaaf45089e6c37d
|
File details
Details for the file torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 19.6 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b119ffb98dd4b57d167b3b66aa77fc7d528926c483bd856c65b6169f9cb5d8be
|
|
| MD5 |
51415423adc3bd8f3db155456b32cb0e
|
|
| BLAKE2b-256 |
f3e06129d2970543871261c8375de09c2f0b91578fd95c38c315ef32e188cee0
|