All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Command Line Interface (CLI) for capturing screenshots
- Support for both pixel and physical (cm) dimensions in CLI
- CLI options for scale factor and DPI settings
- New PrintMediaResolution type that combines pixel and CM dimensions
- Object-fit options (contain, cover, fill, none) for controlling how content fits in viewport
- Optional resolution parameter with sensible defaults
- CLI support for render_timeout parameter to control waiting for RENDER_COMPLETE signal
- CLI support for object_fit parameter to control content fitting
- Fixed unit conversion in UnitConverter class to properly handle Pint quantity objects
- Improved DPI and resolution handling for more accurate image sizing
- Fixed type checking issues with resolution parameters
- Fixed type handling in CLI for better compatibility with the core functions
- Improved error handling in CLI for nonexistent files
- Adjusted default device scale factor to 1.5 (150% zoom) for better image quality
- Modified resolution handling to support both screen and print media dimensions
- Made resolution parameter optional with sensible defaults
- Made object_fit parameter optional with a default value of "contain"
- Updated CLI tests to properly test all parameters and edge cases