ygo_slice_art_grid
Slice a contact sheet into square card art images by detecting the grid and removing gutters, then save them as .jpg files in the game's Arts folder.
Instructions
Detect the grid, remove gutters and slice an AI contact sheet into square .jpg card arts (1024x1024, JPEG quality 95) directly into the game's Arts/ folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | Grid columns (default 3) | |
| rows | No | Grid rows (default 3) | |
| cardIds | No | Manual card ID array when no docx is supplied | |
| docxPath | No | Master DOCX path to derive the card ID list automatically | |
| imagePath | Yes | Path to the grid image | |
| outputArtsDir | No | Output directory for sliced art (e.g. YGO Omega 'Arts/' or EDOPro 'pics/') |