From the instruction manual [1] for the Solarcan (a premade product that operates on the same principle), it appears pretty much all you do is scan the image and then invert it. Take a look at the images in the PDF - they're pretty cool.
[1] https://solarcan.co.uk/wp-content/uploads/2019/06/solarcan-t...