[sip-comm-dev] About the avatar plugin


#1

Hi,

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

MSN :
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.

Yahoo :
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
functional.

What do you think ?

Bye

Damien

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi Damien,(all)

Have you heard about http://www.gravatar.com ? It's a widely used "web2.0" service (mostly in blogs) that returns an avatar for an email. It's the owner of the email the one that sets up the image.
I think it could be great that if no avatar is present in the specified protocol, make a request to gravatar.com with the account name and check if there is an available avatar.
In the web page there are reference implementations in Java of its API

What do you think?

Best regards,
Javier

···

-----Mensaje original-----
De: Damien Roth [mailto:damien.roth@gmail.com]
Enviado el: miércoles, 14 de octubre de 2009 9:03
Para: SIP-Communicator Dev
Asunto: [sip-comm-dev] About the avatar plugin

Hi,

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

MSN :
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.

Yahoo :
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
functional.

What do you think ?

Bye

Damien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Javier,

I personally like the feature. Thank you for the idea!

However, I currently find it slightly separate from Damien's work and
question here because he's trying to set an avatar on the
protocol-specific server side. For example, MSN/Microsoft do not at
present check gravatar.com for an avatar associated with my Hotmail
account.

Another possible idea is to present a choice of the gravatars already
associated with the user's accounts when the user invokes the avatar
setting UI. (It's, of course, still not related to Damien's question.)

Anyway, I presume a plugin integrating SIP Communicator with
gravatar.com will be a nice addition so please feel free to contribute
it.

Regards,
Lubomir

···

2009/10/14 Javier Mendiara Cañardo <javier.mendiara@gmail.com>:

Hi Damien,(all)

Have you heard about http://www.gravatar.com ? It's a widely used "web2.0" service (mostly in blogs) that returns an avatar for an email. It's the owner of the email the one that sets up the image.
I think it could be great that if no avatar is present in the specified protocol, make a request to gravatar.com with the account name and check if there is an available avatar.
In the web page there are reference implementations in Java of its API

What do you think?

Best regards,
Javier

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net