Apps / Image Splitter
Actions
Jump to:
split_imagesplit_folder
Split one image
split_image
Cut a single image into a rows x cols grid or fixed-size tiles and save them.
Inputs
Name Type Required / default Values and notes
image
path
required
mode
enum
optional, default grid
gridtile
rows
int
optional, default 2
cols
int
optional, default 2
tile_w
int
optional, default 256
tile_h
int
optional, default 256
out_dir
path
optional, default ""
Outputs
Name Type Notes
files
path[]
count
int
out_dir
path
Split a folder
split_folder
Apply the same grid or tile split to every image in a folder.
Inputs
Name Type Required / default Values and notes
folder
path
required
mode
enum
optional, default grid
gridtile
rows
int
optional, default 2
cols
int
optional, default 2
tile_w
int
optional, default 256
tile_h
int
optional, default 256
recursive
bool
optional, default false
Outputs
Name Type Notes
count
int
tiles
int
out_dir
path
Requires
Python >=3.10
Packages Pillow
Models none
Use it
split_image
split_folder
Split one image
Command line
shell Copy
python app.py --action split_image --params '{"image": "D:/path/to/image"}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp Copy
run_action("image-splitter", "split_image", {"image": "D:/path/to/image"})
Workflow node
json Copy
{
"id": "n0",
"app": "image-splitter",
"action": "split_image",
"params": {
"image": "D:/path/to/image"
},
"inputs": {}
}
Split a folder
Command line
shell Copy
python app.py --action split_folder --params '{"folder": "D:/path/to/folder"}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp Copy
run_action("image-splitter", "split_folder", {"folder": "D:/path/to/folder"})
Workflow node
json Copy
{
"id": "n0",
"app": "image-splitter",
"action": "split_folder",
"params": {
"folder": "D:/path/to/folder"
},
"inputs": {}
}
Example prompts
Things you can say to Claude, Cursor or Codex once the MCP server is registered.
split image.jpg into a 3x3 grid of tiles cut every image in D:/renders into 512x512 tiles chop this poster into 4 quadrants for printing