- Take a screenshot. It will be named something like Screenshot 2026-03-11 at 19.57.25.png
- Run
Code: Select all
nconvert -o ~/Desktop/% -out jpeg "Screenshot 2026-03-11 at 19.57.25.png"
Omitting -o produces an output with the correct extension. Using -o on a filename that does not contain periods also appends the correct extension.
I tested this under macOS v7.232.