Read the how to on reading data from files: https://www.tensorflow.org/versions/r0.8/how_tos/reading_dat...
and check out this useful Stack Overflow answer: http://stackoverflow.com/questions/33648322/tensorflow-image...