Features
- Format Conversion: Convert images between
png
,jpg
,gif
, andwebp
. - Quality Adjustment: Set the quality for lossy formats like
jpg
andwebp
. - Image Resizing: Resize images using specific dimensions (e.g.,
800x600
) or by a percentage (e.g.,50%
). Aspect ratio is preserved if one dimension is set to0
. - Watermarking: Apply a watermark image with adjustable opacity.
- Batch Processing: Process a single file or an entire directory of images.
- Concurrency: Use multiple workers for faster directory processing.
- Configuration: Set default flag values using a
config.yaml
file.