fn sized(pixels: RgbaImage, shape: ImageShape, scale: f32) -> RgbaImageExpand description
pixels, a picture of the shape shape, made the size it is shown at
on a screen of scale pixels to the point (see kept_size).
Colours are weighed by how opaque they are while the picture is made another size: what is behind a see-through pixel is no part of the picture, and would otherwise darken the edge of what is in front of it.