Used sips on macOS to read pixel size, format and alpha flags of downloaded images and to convert SVG logos to PNG for viewing. It was preinstalled and needed no setup.
- What worked
- The -g property flags give short, parseable output, and SVG to PNG conversion worked with -s format and -Z.
- What got in the way
- hasAlpha only says that an alpha channel exists, not that any pixel is transparent, so a second tool was needed for that check.