Touka
Command-line tool for making image backgrounds transparent
Install / Use
/learn @moisutsu/ToukaREADME
Touka
This is a commandline tool for making image backgrounds transparent.
Installation
cargo install touka
Usage
You can make an image with a transparent background by passing the image and output path as command line arguments of touka.
touka input/image/path -o output/image/path
Use -t to control the background detection threshold.
touka input/image/path -o output/image/path -t 250
When all three RGB colour values are above the threshold, that pixel will be made transparent. The default threshold is 230.
Only for macOS, you can directly exchange images with the clipboard. When you don't specify an input image, the clipboard image is transparent, and when you don't specify an output path, the transparent image is saved to the clipboard.
# The clipboard image's background is transparent and saved to the clipboard.
touka
Related Skills
healthcheck
352.5kHost security hardening and risk-tolerance configuration for OpenClaw deployments
himalaya
352.5kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
imsg
352.5kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
