I used Arc Soft Photo Studio, but probably many other photo software programs do the same thing.
Select effects from overhead toolbar. I used liquid, splash, intensity 20%. Make it blurry so you can judge what colors of yarn to use.
Back to the effects tab. Select tiling, 3D grid from dropdown menu.
You can adjust the size of the grid squares to suit. Run off a copy and there’s your knitting chart.