image can now be created from pixmaps and supports specification of encoding formats, ICC profiles, and more. Additionally, you can now use the scaling parameter to control how viewers should scale the image (smooth or pixelated).
1#image(2 bytes(range(16).map(x => x * 16)),3 format: (4 encoding: "luma8",5 width: 4,6 height: 4,7 ),8 // auto, "pixelated", "smooth"9 scaling: "pixelated",10 width: 3cm,11 icc: auto,12)