[Standards-JIG] JEP0153 Avatar size

Heiner Wolf wolf at bluehands.de
Tue Aug 30 10:16:25 UTC 2005


I think yes.
8192 bytes would be the max size of the binary image.
My test shows 10924 bytes after base64 including 1 byte padding (a trailing "=").

Dr. Heiner Wolf
bluehands GmbH & Co.mmunication KG
+49 (0721) 16108 75
Jabber enabled Virtual Presence on the Web: www.lluna.de
Open Source Future History: www.galactic-developments.de

>-----Original Message-----
>From: standards-jig-bounces at jabber.org
>[mailto:standards-jig-bounces at jabber.org]On Behalf Of Alex Mauer
>Sent: Monday, August 29, 2005 7:41 PM
>To: standards-jig at jabber.org
>Subject: [Standards-JIG] JEP0153 Avatar size
>JEP 0153 states that Avatars are to be <=8 kbytes.  But it doesn't say
>whether this is before or after base64-encoding.  My assumption is that
>it should be before, but then if a server wants to limit the size, how
>should it do so? Despite the spec saying it should be 
>client-limited, it
>seems sensible that a server should have its own limits as 
>well.  Should
>it limit the base64 text to 10923 bytes? This should be the max that
>base64(8192 bytes) produces.
>-Alex Mauer "hawke"
>Bad - You get pulled over for doing 90 in a school zone and 
>you're drunk
>off your ass again at three in the afternoon.
>Worse - The cop is drunk too, and he's a mean drunk.
>FUCK! - A mean drunk that's actually a swarm of semi-sentient
>flesh-eating beetles.
>OpenPGP key id: 0x51192FF2 @ subkeys.pgp.net

More information about the Standards mailing list