Calculate a two-image collage including its outer spacing
Example input
2 images · 2 columns
cell: 200 px
gap: 10 pxExpected result
430 × 220 pxUse two columns with square two-hundred-pixel cells. The canvas includes a ten-pixel gap between cells and ten-pixel spacing on each outer edge. That makes the width 400 + 30 and the height 200 + 20. Preview cropping and file order before exporting the PNG.