# Image Toolkit **Repository Path**: fenixnix/imgtk ## Basic Information - **Project Name**: Image Toolkit - **Description**: A fast, command-line image batch conversion tool written in Rust. Supports converting images between various formats (JPEG, PNG, GIF, BMP, WebP, AVIF) with customizable quality settings. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-03-13 - **Last Updated**: 2026-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # imgtk - Image Batch Converter A fast, command-line image batch conversion tool written in Rust. Supports converting images between various formats (JPEG, PNG, GIF, BMP, WebP, AVIF) with customizable quality settings. ## Features - Batch conversion of images in directories (including nested directories) - Supports multiple input formats: JPEG, PNG, GIF, BMP - Multiple output formats: WebP, JPEG, PNG, AVIF - Adjustable quality settings (1-100) - Preserves directory structure in output - Simple CLI interface ## Installation ### From Source ```bash cargo build --release ``` The binary will be at `target/release/imgtk.exe` (Windows) or `target/release/imgtk` (Linux/macOS). ### Pre-built Download the latest release from the [Releases](https://github.com/MimicNix/imgtk/releases) page. ## Usage ```bash # Convert with default settings (WebP, quality 80) imgtk -i ./input_folder -o ./output_folder # Convert to JPEG with quality 90 imgtk -i ./photos -o ./web_photos -f jpg -q 90 # Convert to PNG imgtk -i ./images -o ./png_output -f png ``` ### Options | Flag | Description | Default | |------|-------------|---------| | `-i, --input` | Input directory path | Required | | `-o, --output` | Output directory path | Required | | `-f, --format` | Output format (webp, jpg, png, avif) | webp | | `-q, --quality` | Output quality (1-100) | 80 | ## Development ### Requirements - Rust 1.70+ - Cargo ### Build ```bash # Debug build cargo build # Release build cargo build --release # Run cargo run -- -i ./input -o ./output ``` ## License MIT License - see [LICENSE](LICENSE) for details. ## Author MimicNix