Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

File hashes

Hashes for torchvision_extra_decoders-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cab6f956a8c02e5eaacb80ff6e4a045f1e4484692a81820602e7580fcf5d9d7f
MD5 b8066a4fb295135d5e831437af934661
BLAKE2b-256 909464c9de002aaaf20e6283f68bfd1c0d1c9757e66cc711ccf5575677f7f033

See more details on using hashes here.

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

File hashes

Hashes for torchvision_extra_decoders-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7308c561292a0dc9aed7d09f9f52962c365e3c1a380a17f437e280a45a36e48
MD5 23a3a10b3d9d26e45ba8d11c47be2131
BLAKE2b-256 5d5d85a6939f1fbd4c0d7168f492301149373dc8dbd16105961e5bb5ebad0d5a

See more details on using hashes here.

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

File hashes

Hashes for torchvision_extra_decoders-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b591b4f64a8389f7e28473673a8a3a526d8f2bf55f85b9ca58d24399ff1e4485
MD5 a0ee688fc862ee3497703bfeff68b0ac
BLAKE2b-256 5f3b2d26447bae4116d9d47516454aa820542d3e4dd29656caaaf45089e6c37d

See more details on using hashes here.

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

File hashes

Hashes for torchvision_extra_decoders-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b119ffb98dd4b57d167b3b66aa77fc7d528926c483bd856c65b6169f9cb5d8be
MD5 51415423adc3bd8f3db155456b32cb0e
BLAKE2b-256 f3e06129d2970543871261c8375de09c2f0b91578fd95c38c315ef32e188cee0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page