6 runs on real files, 24 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.
cmyk.jpg is CMYK and looks wrong on the web. Save it as rgb.png in normal RGB colors.
deft image convert cmyk.jpg --to png -o rgb.png
Automatic checks (2)
- image: file = "rgb.png", format = "PNG", width = 100
- image_similar: file = "rgb.png", to = "cmyk.jpg", max_difference = 30
landscape_6.jpg shows sideways in some apps. Save upright.jpg with the pixels actually rotated and no rotation flag.
deft image convert landscape_6.jpg --to jpg -o upright.jpg
Automatic checks (1)
- image: file = "upright.jpg", width = 600, height = 450, orientation = 1
Save the first frame of earth.gif as frame.png.
deft image convert earth.gif --to png -o frame.png
Automatic checks (1)
- image: file = "frame.png", format = "PNG", width = 400
Convert photo.heic to photo.jpg.
deft image convert photo.heic --to jpg -o photo.jpg
Automatic checks (1)
- image: file = "photo.jpg", format = "JPEG", width = 3024, height = 4032
Convert dice.png to dice.jpg with a white background where it is transparent.
deft image convert dice.png -o dice.jpg
Automatic checks (2)
- image: file = "dice.jpg", format = "JPEG", width = 800, has_alpha = false
- script: run = "corner_is_white.py"
Convert gallery.webp to gallery.png.
deft image convert gallery.webp --to png -o gallery.png
Automatic checks (1)
- image: file = "gallery.png", format = "PNG", width = 550