Mac/cross-platform screen capture

For Windows, we have the beautiful ImageMagick.load("screenshot:")
For Linux, we have another less elegant solution with ImageMagick
For Mac or cross-platform, how can we take a screenshot programmatically? Ideally a Julia-native system, though pycall or similar could be acceptable.

It would handy if there was a C API to Apple Developer Documentation

Looks like someone has built Python bindings:

There seem to be some old attempts at Objective C bindings here:

@Erik_Engheim , were you working in updating these at one point?