Possible Duplicate:
How is the default user avatar generated?

Stack overflow uses a default generated image called Identicons for users. They look like this:

one one one one

A basic overview of the system is here.

My question is, what is the algorithm that Gravatar uses to generate these? The question here provides a link to the original 9-panel version of identicons. Gravatar's version uses a 16-panel version.

Is the source available?

marked as duplicate by Pops, jonsca, yoozer8, Toon Krijthe, kiamlaluno Sep 27 '12 at 0:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    I think this actually makes more sense on SO than on Meta, but there's no option to migrate in that direction. EDIT: Turns out it's been asked there before – Michael Mrozek Aug 14 '10 at 3:49

I've found the PHP implementation for the 16-panel identicons.


This has the PHP source for version 1.02.

  • Good find! Since we already have an FAQ entry about Identicons, I've added this link to the answer there. – Pops Sep 26 '12 at 14:55

Not the answer you're looking for? Browse other questions tagged .