Best way make a jigsaw shape out of a larger image

I am making a jigsaw puzzle game, and am looking for the best way to make a jigsaw shape from any given image.

Can you post how things look in the editor? I’m a bit confused as to what you’re trying to do exactly, not too familiar with the components you mentioned but maybe I can help somehow

  1. Create your jigsaw piece edges as Bezier curves, either manually, programmatically or by pulling them out of an Inkscape SVG file. Make as many as you need, at least 20 but more is better.
  2. Join 4 of them up to make edges of a tile mask, one per tile on a single texture, with spacing around each tile. I used Windows Geometry.
  3. Apply the selected mask to the picture at the correct offset and you get a tile.

Sorry, but that turns out to be the easy part. Getting good visuals when dragging tiles around is really hard.