Here is the prompt I used in VSCode Agent mode on April 12, 2025
make a bash script in this file that follows the best practices from https://bertvv.github.io/cheat-sheets/Bash.html #fetch .
The bash script should use the convert tool from the ImageMagick program to process the input image and create an output image.
Give a helpful error message if the convert tool is not available, with instructions for common ways to install the program
with homebrew or apt. The script should take a single argument as the source image, and create an output file that is named
the same as the source image but with "-output" added as a suffix to the basename of the input file. Keep the output file
extension the same as the input file extension. Validate that the input file is a valid PNG file with 1920x1080 dimensions.
The processing of the image should be to -crop the image starting at Y coordinate offset pixel 1304 and continuing to