About Token Maker
I made Token Maker so that turning a picture into a token takes one picture and a couple of clicks. It is free, has no ads and no accounts, and it is run by an independent developer, not a company: one person, writing the code and the pages.
What it does differently
The rules it follows: keep the picture's proportions, start tall art framed on its upper part, save 1024 pixels unless you choose otherwise, never cover the editor with anything, and print framed tokens at the size of a battle-mat square.
How the tokens are drawn
Everything happens in your browser. The picture is scaled the same way across and down, then cut to the shape you pick. The 37 frames are drawn by code along that shape, which is why each one fits circles, hexagons, squares and octagons, in 12 colours or any other, at any size up to 2048 pixels. Names and numbers use a narrow typeface that still reads at 70 pixels.
The map preview uses the default grid squares of Roll20 (70 pixels) and Foundry VTT (100 pixels), taken from their help pages. Print sizes follow the creature size table in the DnD 5e System Reference Document (CC BY 4.0): half an inch for Tiny, one inch for Small and Medium, then two, three and four inches for Large, Huge and Gargantuan.
Checking it
I test the downloads in every frame and shape for their size, their see-through corners and that a circle in the picture is still a circle, and I measure print sheets in the browser's print layout. Printers differ, so print one test page and hold a ruler to it before you print a whole encounter. If something comes out wrong in your tabletop or on paper, tell me.
The example pictures
Three of the examples you see before adding your own picture are old paintings that anyone may use, so the first token you see looks like the art people actually bring:
- Golden-helmet knight: The Man with the Golden Helmet, circle of Rembrandt, about 1650, Gemäldegalerie Berlin. Public domain (source).
- Bellona: Bellona, Rembrandt, 1633, The Metropolitan Museum of Art. CC0 (source).
- Sage: Man in Oriental Costume (“The Noble Slav”), Rembrandt, 1632, The Metropolitan Museum of Art. CC0 (source).
The fourth, a goblin with a transparent background for trying Pop-out, is drawn in code for this site.
Statistics and privacy
Pictures are never uploaded. Once published on its own domain the site keeps pseudonymous usage statistics (pages visited, buttons used, whether a download worked) to see what is worth improving. You can switch them off; the privacy policy lists exactly what is recorded and stored.
Background removal
Remove background on the Picture tab uses IS-Net, a published segmentation network (the general-use model by Xuebin Qin and colleagues, released under the Apache-2.0 licence; the 8-bit version comes from the isnet-general-use-onnx repository). It runs in your browser with ONNX Runtime Web: the 44 MB model (served in two parts) and the program that runs it are downloaded from this site the first time you use it and kept in your browser's cache, and your picture is not sent anywhere. It is an estimate, best when one figure stands out clearly from the background. Fine hair, smoke, a figure close in colour to the background or a smooth sky or gradient behind it can come out patchy, and the tool tells you when the network was unsure.
Animated tokens
Animated tokens are drawn frame by frame by the same code as the still token. Browser video encoders drop transparency, so for WebM the colour and the transparency are encoded as two separate VP8 streams with the browser's own encoder (WebCodecs) and packed into one file by code on this site, the same layout other WebM tools write. GIFs use one palette of up to 255 colours plus a transparent one. Nothing is uploaded for either.
What it leaves out
Generated portraits and a character that blinks or walks are not part of Token Maker; the full list is under “What Token Maker does not do” on the home page.