Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.54 KB

File metadata and controls

37 lines (27 loc) · 1.54 KB

Changelog

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.

[Unreleased]

[0.5.1] - 2023-10-15

Added

  • 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

  • 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

Changed

  • 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