viewPicture(filename)
For the moment, it only works with SVG pictures and browsers supporting them.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Graphics.m2:1924:0.