Man what a confusing title. It's not a single strand of DNA that gets the image information. You get a pool of DNA, which collectively hold the images information.
This is done in a pretty obvious way, each "pixel" is a well in a 96-well e.g. plate and you expose the bacteria in these wells to different light and then the DNA transformation is triggered by the light, then you harvest the DNA from the bacteria and get your image pool library.