[This page][1] has a depiction of a wizard from a late 19th century [lantern slide][2]:

![enter image description here][3]

It sort of seems like this guy is somewhere between the modern Merlin/Gandalf vision of a wizard and older depictions of the "renaissance magus" like the one shown [here][4] of Dr. Faustus from a 1620 edition of *Faust*:

![enter image description here][5]

And [here][6] is an illustration of Merlin by Gustave Doré from 1868, you can see the image of the wizard already included the robes and the long white beard but perhaps the conical hat wasn't yet part of standard wizard regalia in the public imagination:

![enter image description here][7]

I would guess that "The Sorceror's Apprentice" from Disney's *Fantasia* helped cement the modern iconic image of a wizard's hat (in the same way *Wizard of Oz* cemented the image of a witch, inventing the notion that they had green skin for example). In this cartoon, Mickey gained temporary magic powers from "borrowing" the hat of his wizard master, which was pointed, blue, and had the star-and-crescent moon pattern often seen in later images of wizards. *Fantasia* came out in 1940, only 3 years after *The Hobbit*, so I don't know how likely it is that the Disney animators were influenced by Gandalf (especially since according to the ["Design and Animation" section of the Fantasia wiki article][8], "Animation on The Sorcerer's Apprentice began on January 21, 1938", and [this article][9] says "Houghton Mifflin Co. of Boston and New York published the first American edition of The Hobbit in spring of 1938 following its September, 1937 debut in the United Kingdom from George Allen & Unwin LTD").

![enter image description here][10]

[This page][11] has some of the story of how Disney artists came up with that particular design for the hat:

> For the actual filming of the animated classic, a well-known silent
> film star, Nigel de Brulier, was brought in to provide live-action
> reference footage for the character of the sorcerer. Disney writer
> Carl Fallberg went to the famous Hollywood costume rental house,
> Western Costume, to find the appropriate robe and pointed hat for the
> performer to wear during the shooting. Fallberg had to paste white
> stars and crescent moons onto the hat to get the look he wanted.


  [1]: http://museumvictoria.com.au/collections/items/750222/lantern-slide-wizard-cauldron-1850-1900
  [2]: http://memory.loc.gov/ammem/collections/landscape/lanternhistory.html
  [3]: https://i.sstatic.net/MnG1t.jpg
  [4]: https://olneytempest.wordpress.com/shakespeares-sources/prosperos-so-potent-art/
  [5]: https://i.sstatic.net/XyYe1.gif
  [6]: http://en.wikipedia.org/wiki/Lady_of_the_Lake#Later_uses
  [7]: https://i.sstatic.net/80DE1.jpg
  [8]: http://en.wikipedia.org/wiki/Fantasia_(1940_film)#Design_and_animation
  [9]: http://en.wikipedia.org/wiki/Early_American_editions_of_The_Hobbit
  [10]: https://i.sstatic.net/QP2xM.jpg
  [11]: http://allears.net/ae/issue798.htm