{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"}],"enrichment":{"capability":"Decodes compressed texture formats (BC, PVRTC, ETC, ASTC, ATC, Crunch) used in game assets and 3D applications, converting them to raw BGRA pixel data.","skillfed_tags":["game-assets","texture-compression","binary-codec"],"use_cases":["Extract and convert game textures from asset bundles or game files for analysis or modding","Batch decompress ASTC textures from mobile game assets into standard image formats","Build asset pipeline tools that need to read compressed textures from game engines","Integrate texture decompression into game modding or reverse-engineering workflows","Convert ETC or PVRTC textures from mobile platforms to desktop-compatible formats"],"what_it_does":"texture2ddecoder is a Python wrapper around native texture decompression routines for formats commonly found in game assets and 3D applications. It takes compressed binary texture data (in formats like BC1, BC3, ETC1, ETC2, PVRTC, ASTC, ATC, and Crunch variants) along with dimensions and block parameters, and returns raw BGRA pixel bytes suitable for image reconstruction or further processing.\n\nThe package is a thin binding to cross-platform C implementations of these codecs, with no Python runtime dependencies. It's designed for developers who need to extract or convert game textures, analyze asset pipelines, or integrate texture decompression into asset processing workflows. The main gotcha is that decode_pvrtc can segfault on macOS, and the package requires a pre-built wheel for your specific platform and Python version.","worth_installing":"Yes, if you need to decompress game textures. The package is stable, permissively licensed, has no runtime dependencies, and covers a wide range of compression formats. Install friction is moderate due to platform-specific wheels, but pre-built binaries exist for common platforms. Avoid decode_pvrtc on macOS due to known segfault risk."},"id":"texture2ddecoder","links":{"html":"https://skillfed.io/packages/texture2ddecoder","md":"https://skillfed.io/packages/texture2ddecoder.md","pypi":"https://pypi.org/project/texture2ddecoder/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-16","license_spdx":null,"license_treatment":"permissive","name":"texture2ddecoder","python_support":"supports_current","summary":"a python wrapper for Perfare's Texture2DDecoder"},"popularity":{"monthly_downloads":154172,"position":10860,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.6"}
