Why does this code result in a 1600x1600 image?

A point is a unit of length measuring 1⁄72 of an inch. When exporting to PNG, Typst uses a default pixel density of 144 pixels per inch. Since there are 72 pt in an inch and 144 is twice that, the resulting image’s dimensions will be twice as many pixels as points.

3 Likes