Quicktex
A project intended to add python bindings to rgbcx that somehow resulted in rewriting it entirely
Install / Use
/learn @drewcassidy/QuicktexREADME
Quicktex
A python library for using DDS files
Quicktex is a python library and command line tool for encoding and decoding DDS files. It is based on the RGBCX encoder, which is currently one of the highest quality S3TC encoders available. Quicktex has a python front end, but the encoding and decoding is all done in C++ for speed comparable to the original library.
Installation
From Wheel (Easiest)
To install, run
pip install quicktex
If you are on macOS, You need to install openMP from homebrew:
brew install libomp
From Source
To build from source, first clone this repo and cd into it, then run:
git submodule update --init
pip install .
and setuptools will take care of any dependencies for you.
If you are on macOS, it is recommended to first install openMP from homebrew to enable multithreading, since it is not included in the default Apple Clang install:
brew install libomp
The package also makes tests, stub generation, and docs available. To install the required dependencies for them, install with options like so:
pip install .[tests,stubs,docs]
Usage
Usage: quicktex [OPTIONS] COMMAND [ARGS]...
Encode and Decode various image formats
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
decode Decode DDS files to images.
encode Encode images to DDS files of the given format.
To decode DDS files to images, use the decode subdommand, along with a glob or a
list of files to decode.
To encode images to DDS files, use the encode subcommand, plus an additional
subcommand for the format. For example, quicktex encode bc1 bun.png will encode
bun.png in the current directory to a bc1/DXT1 dds file next to it.
encode and decode both accept several common parameters:
-f, --flip / -F, --no-flip: Vertically flip image before/after converting. [default: True]-r, --remove: Remove input images after converting.-s, --suffix TEXT: Suffix to append to output filename(s). Ignored ifoutputis a single file.-o, --output: Output file or directory. If outputting to a file, input filenames must be only a single item. By default, files are converted in place.
Related Skills
claude-opus-4-5-migration
84.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
99.6k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
342.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.1k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
