Even if the vCard contains an avatar of type png, when modified it returns jpeg.
The MIME type need to become a member field of the VCard class.
Code places where the MIME type is hardcoded:
http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/smackx/packet/VCard.java?r1=13325&r2=13325&u=3#to356
Even if the vCard contains an avatar of type png, when modified it returns jpeg.
The MIME type need to become a member field of the VCard class.
Code places where the MIME type is hardcoded:
http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/smackx/packet/VCard.java?r1=13325&r2=13325&u=3#to356