Skip to main content
Collage Studio

About

Marcus Cedergren

Marcus Cedergren

Software developer & amateur photographer

I built Collage Studio out of personal frustration — I couldn't find a collage tool that handled large sets of photos the way I wanted. Every app or service I tried either forced my images into a fixed template or produced rigid, predictable grids, often cropping images to make the images fit the layout instead of the other way around. I wanted something that arranged photos organically, filling the canvas as completely as possible, giving each image the space it deserved, and producing a high-resolution file good enough to send straight to a print shop for a large poster. Being a software developer, the obvious solution was of course to just build it myself!

The app is free. If you enjoy using it and want to support the project, buy me a beer on Ko-fi!

Support on Ko-fi

What it does

Most collage tools drop your photos into a fixed template or a rigid grid. Collage Studio works differently: it arranges each set of images to fill the canvas as completely as possible without following a preset template, so every result looks different.

Because it solves for the arrangement rather than following a template, it handles large sets well (up to 300 images). You can give a few images a weight to make them larger and more centrally placed. The more photos you add, the more combinations the solver has to work with.

Export as a 300-DPI print-ready file at standard paper sizes, or sized for your screen or social media: square and portrait posts, 9:16 stories and reels, short-video formats, pins, and profile covers and banners for all major platforms.

Everything runs in your browser. The layout algorithm is compiled to WebAssembly and runs locally on your device's CPU. No uploads, no accounts.

How it works

When you create a collage, the app explores a large number of possible arrangements and keeps the one that fills your chosen format most completely while respecting any images you've given a weight. The search runs in parallel across your device's CPU cores, so even large image sets usually finish in seconds.

Every run produces a different arrangement, so you can regenerate until you're happy with the result. The algorithm adjusts automatically to your image count and format.

The layout engine is a genetic algorithm — the same family of techniques used to solve complex optimisation problems in engineering and logistics. It starts with a population of random arrangements and evolves them over hundreds of generations: layouts that fill the canvas well survive and pass on their traits, while poor ones are discarded. Small random mutations keep the search from getting stuck. The result is a near-optimal arrangement found through guided exploration rather than brute force — which is why each run finds something different, and why more images give it more to work with.

Tips

  1. 1

    Use 20 or more images for best results. More images give the algorithm more to work with.

  2. 2

    Tap any image and set a weight (×2, ×3, or ×5) to give it more space and a prominent position in the collage.

  3. 3

    If the result has gaps, try a different format or add more images. Each run finds a different layout, so generating again often closes remaining gaps.

  4. 4

    Save results you like before generating again. Each run is different and a good layout won't come back.

Contact

Questions, ideas for improvements, business proposals, or bug reports are welcome at collage-studio@kodverket.se.