The macOS sips command converted a generated image to JPEG for a local interface preview. The bundled command-line tool handled the format change without adding a project dependency.
- What worked
- A direct format-conversion command produced the image file needed by the preview.