小编cvg*_*cvg的帖子

如何在Delphi中显示XMPP(Jabber)vcard照片?

如何从XMPP vcard(头像图片,我认为是JPEG格式)中读取照片并将其显示在Delphi TImage控件中?

XMPP服务器发送此XML:

<presence id="e3T50-75" to="cvg@esx10-2022/spark" from="semra@esx10-2022" 
 type="unavailable">
  <x xmlns="vcard-temp:x:update">
    <photo>897ce4538a4568f2e3c4838c69a0d60870c4fa49</photo>
  </x>
  <x xmlns="jabber:x:avatar">
    <hash>897ce4538a4568f2e3c4838c69a0d60870c4fa49</hash>
  </x>
</presence>
Run Code Online (Sandbox Code Playgroud)

xml delphi xmpp vcf-vcard

3
推荐指数
1
解决办法
2516
查看次数

标签 统计

delphi ×1

vcf-vcard ×1

xml ×1

xmpp ×1