scad:screenshot:request to capture the visible CAD viewport:
scale controls the requested pixel ratio, but the result is reduced as needed to remain within maxWidth and maxHeight.
CAD responds with a PNG data URL and its pixel dimensions:
scad:screenshot:error:

