Resize a large photoPassed
Make a 1200 pixel wide version of earth.jpg called web.jpg.
deft image resize earth.jpg --size 1200x -o web.jpg
Automatic checks (1)
- image: file = "web.jpg", width = 1200, format = "JPEG"
deft image resizeScale: --size 800x, 1920x1080, 50%
3 runs on real files, 21 tests on generated files, not shown. 0 failed.
Real files and a plain-language job, from the agent benchmark. These are the reference answers, not an agent run.
Make a 1200 pixel wide version of earth.jpg called web.jpg.
deft image resize earth.jpg --size 1200x -o web.jpg
Export tiger.svg as a 1024 pixel wide PNG called tiger.png.
deft image resize tiger.svg --size 1024x --upscale -o tiger.png
The files are not kept here, because tiger.svg is under AGPL. Its source is linked.
No input file.
No output file. The result is what it printed.
Create 200 pixel wide thumbnails of every image in the photos folder, in a folder called thumbs.
deft image resize photos/ --size 200x -o thumbs/





