[Gossip-dev] Avatars+Gossip+Telepathy
Richard Hult
richard at imendio.com
Mon Nov 6 10:10:53 CET 2006
Xavier Claessens skrev:
>
> I think a good idea is to store avatars in PNG files, the name of the
> file can be used to know for which contact the PNG is for. This way
> users can get avatars from (for example)
>
> ~/.gnome2/Gossip/<account>/<id>.png
>
> Another solution is to store it in XML or plain-text file using base64
> encoded.
I've planned to implement a cache for avatars, by storing the images on
disk with the hash value that is already used to identify the image as
filename. Then we won't have to fetch the avatars from the server unless
they change. Would this work for your use case as well?
/Richard
--
Imendio AB, http://www.imendio.com/
More information about the Gossip-dev
mailing list