Lensight
A command-line tool for adding camera information and shooting details to photos.
Features
- Add camera information and shooting details to photos
- Support for single image and batch processing
- Built-in support for major camera brands (Canon, Nikon, Sony, Fujifilm, Panasonic)
- Optional 16:9 aspect ratio output for video platforms
- Custom logo support
- Customizable information bar height with adaptive font and logo sizing
Installation
From Source
- Ensure you have Rust and Cargo installed
- Clone the repository:
- Build and install:
From crates.io
Usage
Basic Commands
Single Image Processing
Batch Processing
Advanced Options
Force 16:9 Aspect Ratio
Custom Information Bar Height
Custom Logo
When installed via Cargo, Lensight includes built-in logos for Canon, Nikon, Sony, Fujifilm, and Panasonic. When building from source, you can add custom logos by placing them in the logos directory with the brand name in lowercase.
To specify a custom logo file:
Examples
Original image:

Processed result:

16:9 aspect ratio result:

Note: Please do not use the sample images in the repository for testing as they have been compressed and lost their EXIF data for preview purposes.
Related Projects
- camera-watermark: This project uses the logo files organized by this project.
License
This project is licensed under the MIT License. See the LICENSE file for details.