Turn photos into a data stream.