Test cases / image

deft image info

Format, dimensions, EXIF orientation, GPS

1 run on real files, 7 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.

Answer a question about a photoPassed

What are the displayed width and height of landscape_6.jpg, after its orientation is applied? Write them as WIDTHxHEIGHT to size.txt.

deft image info landscape_6.jpg > size.txt

Input

landscape_6.jpg 134.4 KB · 450x600
landscape_6.jpg

Output

size.txt 106 B
ok image.info landscape_6.jpg  600x450
width=600 height=450 orientation=6 has_metadata=true has_gps=false
Automatic checks (1)
  • text: file = "size.txt", contains = ["600", "450"]