Fresnel and Fraunhofer were both early 19th century physicists, not 17th.
"In 1785 Rittenhouse made perhaps the first diffraction grating using 50 hairs between two finely threaded screws, with an approximate spacing of about 100 lines per inch. This was roughly the same technique that Joseph von Fraunhofer used in 1821 for his wire diffraction grating." -- http://en.wikipedia.org/wiki/David_Rittenhouse
Photography dates back to ca. 1830, which is not much later than Fresnel and Fraunhofer. I don't know, but I would guess that once photography came along, they started using optical reduction to make gratings.