
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
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.
To install, run
pip install quicktex
If you are on macOS, You need to install openMP from homebrew:
brew install libomp
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: 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 if output
is 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.FAQs
A fast block compression library for python
We found that quicktex demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.