manoj-bhaskaran / My-Scripts

0 stars 0 forks source link

Add command-line parameter for cropping-only mode #31

Closed manoj-bhaskaran closed 1 day ago

manoj-bhaskaran commented 1 day ago

Requirement: Enhance the videoscreenshot.ps1 script with a command-line parameter to invoke it in a cropping-only mode. Additionally, the script should skip screenshots that have already been cropped. The cropped image will have the same name as the original but stored in a Cropped Images folder, allowing for name comparison.

Details:

Acceptance Criteria:

  1. The -CropOnly parameter is added to the script and works as expected.
  2. Cropping is skipped for images with matching filenames in the Cropped Images folder.
  3. A log is generated that indicates which screenshots were skipped due to being previously cropped.