Test cases / image

deft image favicon

Website icon set: favicon.ico and PNG sizes

1 run on real files, 2 tests on generated files, not shown. 0 failed.

Real-file tasks

Real files and a plain-language job, from the agent benchmark. These are the reference answers, not an agent run.

Website iconsPassed

Make a favicon set from dice.png in a folder called icons.

deft image favicon dice.png -o icons/

Input

dice.png 219.3 KB · 800x600
dice.png

Output

icons/apple-touch-icon.png 25.6 KB · 180x180
icons/apple-touch-icon.png
icons/favicon-32x32.png 1.6 KB · 32x32
icons/favicon-32x32.png
icons/favicon.ico 6.2 KB · 16x16
icons/favicon.ico
Automatic checks (1)
  • python: code = "from PIL import Image; assert Image.open('icons/favicon.ico').format == 'ICO'"