Making a 3D jigsaw puzzle

In case you’re looking for inspiration regarding how to chop up an image into XY pieces: