Skip to content

capturemann export-images

Resize, convert, watermark and rename many screenshots at once (export_images, Bulk export): export-images <id>... --dest ~/Pictures/site --longest 1600 --format jpeg --watermark-text DRAFT. Writes new files, never overwrites, never changes the library. Starts a background job (jobs get <id>); --wait blocks until it ends

Same action as the MCP tool: export_images

  • MCP tool: export_images, Free, can be set to Ask first
  • Asks on screen: No, unless the user set the tool to Ask first in Settings > Agents & CLI.

Synopsis:

Terminal
capturemann export-images [OPTIONS] --dest <DIR> <IDS>...

Arguments:

ArgumentDescription
<IDS>...Capture ids of the screenshots (at most 500)

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--dest<DIR>The folder to write to (created when missing)
--longest<PX>Size: the longest side in px
--width<PX>Size: the width in px
--height<PX>Size: the height in px
--percent<P>Size: a percentage of the original (1 to 400)
--allow-largerswitchAllow a picture to become larger than the original
--format<FORMAT>png, jpeg, webppng (default), jpeg or webp (lossless)
--quality<QUALITY>JPEG quality, 60 to 100
--watermark-text<TEXT>A text watermark
--watermark-image<FILE>A PNG or JPEG watermark
--watermark-position<WHERE>top_left, top, top_right, left, center, right, bottom_left, bottom or bottom_right
--watermark-opacity<O>0.05 to 1
--watermark-size<S>The mark's width as a fraction of the picture, 0.05 to 1
--blueprintswitchReplace every text line of each picture with a bar in the exported files (on-device text recognition; the screenshots are not changed)
--name-pattern<PATTERN>File names: {name}, {date}, {w} and {h}, and the running number as the letter n in braces (default {name}). Help text cannot print that token literally
--waitswitchWait for the job and print what was exported and skipped
--timeout<SECS>With --wait: give up after this many seconds (exit 6; the job keeps running)

Examples:

Terminal
$ capturemann export-images shot_06GYEY0TM4JZ7KGH --dest exported --longest 320 --format jpeg --quality 85 --waitexported /home/me/cm-demo/exported/demo.jpg1 exported

The output above was run against a headless daemon with an empty throw-away library.