Batch Grid Split
Splits single grid collage images into multiple individual images in batch.
meitu batch image-grid-split
Note: Batch processing is available from meitu-cli v2.1.1 onward. Please upgrade if you're on an older version.
Usage Examples
# Directory scan mode (directory scan only)
meitu batch image-grid-split \
--input-dir ./grids \
--output-dir ./split \
--jsonParameter Reference
| Parameter | Required | Description |
|---|---|---|
--input-dir | Yes | Input directory, recursively scans image files |
--output-dir | Yes | Output directory |
--config | No | Path to YAML/JSON config file |
--concurrency | No | Type: number; Default: 3; Number of concurrent executions |
--max-retries | No | Type: number; Default: 0; Number of retries on failure |
--skip-exist | No | Skip existing output files |
--dry-run | No | Preview the plan without executing |
--no-progress | No | Disable per-task progress logging |
--json | No | Output results in JSON format |
--json-output | No | Write results to a specified JSON file |
--skill-name | No | Skill name attributed on the server side |
Notes
- This command only supports directory scan mode (direct flags only)
- No additional parameters are needed; directly processes all images in the input directory
- Currently supports 2x2 grid splitting