News for hackers. Stuff that matters.
Re:Create a Robot Image from any text string by erikwiffin on Friday July 08, 2011 @11:58AM (#2742963)
It would be awesome if http://robohash.org/google.jpg generated a jpg, and http://robohash.org/google.png generated a png.

It would be even more awesome if http://robohash.org/favicon.ico generated a .ico file.

Re:Create a Robot Image from any text string by e1ven on Friday July 08, 2011 @12:03PM (#2742997)
Google.jpg does generate a jpg, but it's not the same as google.png;

The reason for that is that I'm hashing whatever you send in, including the extension.. Otherwise, if you passed file.txt and file.mp3 they'd come to the same hash.

Re:Create a Robot Image from any text string by erikwiffin on Friday July 08, 2011 @02:35PM (#2743564)
I realize what you're doing. This was more of a "really cool feature request" than a bug report.

favicon.ico does respond with a 404 though.

Re:Create a Robot Image from any text string by agscala on Friday July 08, 2011 @03:16PM (#2743714)
You could make an exception for .jpg and .png and only hash the part to the left of the dot otherwise hash the whole thing!
Re:Create a Robot Image from any text string by meric on Saturday July 09, 2011 @07:04AM (#2745445)
http://robohash.org/google.gif generated a .gif file!