| Crates.io | ku-logo |
| lib.rs | ku-logo |
| version | 1.1.0 |
| created_at | 2024-10-28 09:52:42.266395+00 |
| updated_at | 2024-11-01 16:05:00.220946+00 |
| description | A CLI tool to overlay logos on images with size and position control |
| homepage | https://github.com/kualta/logo |
| repository | https://github.com/kualta/logo |
| max_upload_size | |
| id | 1425419 |
| size | 33,726 |
A command-line tool for overlaying logos on images with precise control over size and position.
If you have Rust installed, you can install directly from crates.io:
cargo install ku-logo
For development setup, see the Development Setup section.
To set up the development environment, we use devenv.sh. This ensures a consistent development experience across different platforms.
Install devenv following the instructions at devenv.sh/getting-started
Clone the repository:
git clone https://github.com/kualta/logo.git
cd logo
Initialize the development environment:
devenv init
Enter the development shell:
devenv shell
This will set up all required dependencies, including:
hello - Test the development environmentbuild-linux - Build release binary for LinuxRun scripts using:
devenv run <script-name>
# Basic usage with default settings (5% size, top-right position)
logo -i input.png -l logo.png -o output.png
# Specify size and position
logo -i input.png -l logo.png -p 10 --position bottom-left -o output.png
# Show help
logo --help
-i, --image <PATH> - Path to the base image-l, --logo <PATH> - Path to the logo image-p, --percentage <NUMBER> - Logo size as percentage (default: 5%)--position <POSITION> - Logo position (top-right, top-left, bottom-right, bottom-left)-o, --output <PATH> - Output path for the resulting imageThis project is licensed under the MIT License - see the LICENSE file for details.