create a puzzle from an image