Skip to content
UniKit

Stardew food card

Turn a food photo into a pixel-art card: average colours on an 8×8 grid, draw cell strokes, then stamp a bitmap title and a corner star; export locally.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Images are processed locally in your browser with Canvas and never uploaded.

Pick an image first (PNG / JPEG / WebP / GIF all work).

Result

No result yet

8
256px

Result

These are the real numbers from this run — copy them straight out.

Pick an image and the result shows up here.

What this tool does

  • Turn a food photo into a pixel-art card: upload, pick a grid size and a title, and you get a game-item look.
  • Recipe covers: consistent grids and strokes make different photos look like one asset set.
  • Community stickers: crush a home-cooked dish into 8×8 pixels with a bitmap title for a consistent style.

Example

Input

A 16×16 food photo plus title "SALAD", 8 cells, 256 px output, averaged cells, star on

Output

A 256 × 256 PNG: first box-downscaled to 256×256, then split into an 8×8 grid (32 px cells) with strokes, and finally the title and corner star are stamped on top

The downscale is area-averaged rather than nearest-neighbour so photo noise is not amplified; each cell then takes its average colour, which is what creates the pixel look.

Frequently asked questions

Can the card title contain non-Latin characters?

No. The title uses a built-in bitmap font that only covers A–Z, 0–9, a space and the symbols - _ ! ? : . , / + * # % @ ( ) = < >; anything else (Chinese, for example) shows the invalid-parameters error. Letters are upper-cased automatically, the title may be at most 16 characters, and leaving it empty is rejected as well.

How should I choose the grid cells and the output size?

Cells is the number of rows and columns, 2–24, default 8: more cells means smaller blocks and a finer picture. The output size is the actual pixel size of the exported PNG, 64–1024 in steps of 32, and it only affects sharpness, not the composition. The bitmap title scales with the cell count too — the factor is cells divided by 4, rounded down, with a minimum of 1 — so more cells means a larger title.

What do "Average each cell" and "Draw a corner star" do?

With "Average each cell" on, every pixel inside a cell is replaced by that cell’s average colour, which is what creates the pixel-art look; switch it off and the original pixels stay, with only the grid strokes (always dark brown) drawn on top. The corner star is drawn in the top-right corner in a fixed red and disappears when you turn it off. The uploaded image is first box-averaged down to the output size and only then split into cells, so even small images avoid amplified noise.

Keywords:stardew food cardpixel food cardfood info card

Related tools