Skip to main content

texture2ddecoder python bindings

Project description

texture2ddecoder_rs

Python bindings for texture2ddecoder.

usage

This module provides a set of functions for decoding 2D textures. Each function takes a byte array representing the texture data, along with the width and height of the texture. The functions return a byte array representing the decoded texture data.

ATC Decoding

  • decode_atc_rgb4(data: bytes, width: int, height: int) -> bytes
  • decode_atc_rgba8(data: bytes, width: int, height: int) -> bytes

ASTC Decoding

  • decode_astc_4_4(data: bytes, width: int, height: int) -> bytes
  • decode_astc_5_4(data: bytes, width: int, height: int) -> bytes
  • decode_astc_5_5(data: bytes, width: int, height: int) -> bytes
  • decode_astc_6_5(data: bytes, width: int, height: int) -> bytes
  • decode_astc_6_6(data: bytes, width: int, height: int) -> bytes
  • decode_astc_8_5(data: bytes, width: int, height: int) -> bytes
  • decode_astc_8_6(data: bytes, width: int, height: int) -> bytes
  • decode_astc_8_8(data: bytes, width: int, height: int) -> bytes
  • decode_astc_10_5(data: bytes, width: int, height: int) -> bytes
  • decode_astc_10_6(data: bytes, width: int, height: int) -> bytes
  • decode_astc_10_8(data: bytes, width: int, height: int) -> bytes
  • decode_astc_10_10(data: bytes, width: int, height: int) -> bytes
  • decode_astc_12_10(data: bytes, width: int, height: int) -> bytes
  • decode_astc_12_12(data: bytes, width: int, height: int) -> bytes
  • decode_astc(data: bytes, width: int, height: int, block_width: int, block_height: int) -> bytes

BCN Decoding

  • decode_bc1(data: bytes, width: int, height: int) -> bytes
  • decode_bc3(data: bytes, width: int, height: int) -> bytes
  • decode_bc4(data: bytes, width: int, height: int) -> bytes
  • decode_bc5(data: bytes, width: int, height: int) -> bytes
  • decode_bc6_signed(data: bytes, width: int, height: int) -> bytes
  • decode_bc6_unsigned(data: bytes, width: int, height: int) -> bytes
  • decode_bc7(data: bytes, width: int, height: int) -> bytes

ETC Decoding

  • decode_etc1(data: bytes, width: int, height: int) -> bytes
  • decode_etc2_rgb(data: bytes, width: int, height: int) -> bytes
  • decode_etc2_rgba1(data: bytes, width: int, height: int) -> bytes
  • decode_etc2_rgba8(data: bytes, width: int, height: int) -> bytes
  • decode_eacr(data: bytes, width: int, height: int) -> bytes
  • decode_eacr_signed(data: bytes, width: int, height: int) -> bytes
  • decode_eacrg(data: bytes, width: int, height: int) -> bytes
  • decode_eacrg_signed(data: bytes, width: int, height: int) -> bytes

PVRTC Decoding

  • decode_pvrtc_2bpp(data: bytes, width: int, height: int) -> bytes
  • decode_pvrtc_4bpp(data: bytes, width: int, height: int) -> bytes

Crunch Decoding

  • decode_crunch(data: bytes, width: int, height: int) -> bytes
  • decode_unity_crunch(data: bytes, width: int, height: int) -> bytes

Project details


Download files

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

Source Distribution

texture2ddecoder_rs-0.0.8.tar.gz (70.8 kB view hashes)

Uploaded Source

Built Distributions

texture2ddecoder_rs-0.0.8-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-pp310-pypy310_pp73-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-pp39-pypy39_pp73-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-pp39-pypy39_pp73-macosx_11_0_arm64.whl (304.3 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (310.8 kB view hashes)

Uploaded PyPy macOS 10.12+ x86-64

texture2ddecoder_rs-0.0.8-pp38-pypy38_pp73-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-pp38-pypy38_pp73-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded PyPy musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-pp38-pypy38_pp73-macosx_11_0_arm64.whl (304.4 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-pp38-pypy38_pp73-macosx_10_12_x86_64.whl (311.0 kB view hashes)

Uploaded PyPy macOS 10.12+ x86-64

texture2ddecoder_rs-0.0.8-cp312-none-win_amd64.whl (196.2 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

texture2ddecoder_rs-0.0.8-cp312-none-win32.whl (191.0 kB view hashes)

Uploaded CPython 3.12 Windows x86

texture2ddecoder_rs-0.0.8-cp312-cp312-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-cp312-cp312-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-cp312-cp312-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

texture2ddecoder_rs-0.0.8-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARMv7l

texture2ddecoder_rs-0.0.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

texture2ddecoder_rs-0.0.8-cp312-cp312-macosx_11_0_arm64.whl (303.8 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-cp312-cp312-macosx_10_12_x86_64.whl (309.9 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

texture2ddecoder_rs-0.0.8-cp311-none-win_amd64.whl (196.8 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

texture2ddecoder_rs-0.0.8-cp311-none-win32.whl (192.2 kB view hashes)

Uploaded CPython 3.11 Windows x86

texture2ddecoder_rs-0.0.8-cp311-cp311-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-cp311-cp311-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-cp311-cp311-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

texture2ddecoder_rs-0.0.8-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARMv7l

texture2ddecoder_rs-0.0.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

texture2ddecoder_rs-0.0.8-cp311-cp311-macosx_11_0_arm64.whl (304.3 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-cp311-cp311-macosx_10_12_x86_64.whl (310.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

texture2ddecoder_rs-0.0.8-cp310-none-win_amd64.whl (196.8 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

texture2ddecoder_rs-0.0.8-cp310-none-win32.whl (192.2 kB view hashes)

Uploaded CPython 3.10 Windows x86

texture2ddecoder_rs-0.0.8-cp310-cp310-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-cp310-cp310-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-cp310-cp310-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

texture2ddecoder_rs-0.0.8-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

texture2ddecoder_rs-0.0.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

texture2ddecoder_rs-0.0.8-cp310-cp310-macosx_11_0_arm64.whl (304.3 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-cp310-cp310-macosx_10_12_x86_64.whl (310.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

texture2ddecoder_rs-0.0.8-cp39-none-win_amd64.whl (196.8 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

texture2ddecoder_rs-0.0.8-cp39-none-win32.whl (192.4 kB view hashes)

Uploaded CPython 3.9 Windows x86

texture2ddecoder_rs-0.0.8-cp39-cp39-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-cp39-cp39-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-cp39-cp39-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

texture2ddecoder_rs-0.0.8-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

texture2ddecoder_rs-0.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

texture2ddecoder_rs-0.0.8-cp39-cp39-macosx_11_0_arm64.whl (304.3 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-cp39-cp39-macosx_10_12_x86_64.whl (310.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

texture2ddecoder_rs-0.0.8-cp38-none-win_amd64.whl (196.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

texture2ddecoder_rs-0.0.8-cp38-none-win32.whl (192.2 kB view hashes)

Uploaded CPython 3.8 Windows x86

texture2ddecoder_rs-0.0.8-cp38-cp38-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

texture2ddecoder_rs-0.0.8-cp38-cp38-musllinux_1_1_i686.whl (1.3 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

texture2ddecoder_rs-0.0.8-cp38-cp38-musllinux_1_1_aarch64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

texture2ddecoder_rs-0.0.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

texture2ddecoder_rs-0.0.8-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARMv7l

texture2ddecoder_rs-0.0.8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

texture2ddecoder_rs-0.0.8-cp38-cp38-macosx_11_0_arm64.whl (304.0 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

texture2ddecoder_rs-0.0.8-cp38-cp38-macosx_10_12_x86_64.whl (310.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.12+ x86-64

Supported by

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