I'm still working on the avatar implementation of my GSoC student.
To check the values (max width, height et size) of the protocol
avatar, I've compared them with those from libpurple (alias LP)
(Pidgin and Adium) and those from the protocols specs (alias PS). By
"we" I mean the values of my student.
So, let's start with XMPP (Jabber and GoogleTalk) :
We (Jabber) : no-limit with the dimension but max size : 64 kB
We (GoogleTalk) : max dimension : 128x128
LP (both) : max dimension 96x96 and no max size
PS : according to the code, we use a vcard to store the image and the
spec says : max dimension 64x64 and max size < 8kB (XEP-0153). No
information of the image requirement is written in the XEP-0084 that
supersedes the previous one.
Personal Opinion : I use a jabber account and a google talk account in
pidgin and adium and there is no problem while setting an avatar.
Oscar (AIM / ICQ)
We : no data
LP : max dim : 50x50 and max size : 7 kB
PS : max dim : 64x64 and max size : 7kB
We : max dimension : 128x128
LP : max dimension : 96x96
PS : no information but on some forums they speak about 96x96 (version
7). Also checked with the software "emesene", max dimension is 96x96.
We : not supported by our library
LP : max dimension 96x96 (it's also the min dimension)
As you can see, our data doesn't match. The main problem is with XMPP,
I will try to get the size when using pidgin.
I think we should use the same values as libpurple for two reasons :
1. Their values are close (or equal) to the one from the protocol specification.
2. Pidgin and Adium are widely used, so we can consider the values as
What do you think ?