[Psi-devel] Re: Requirements for Avatar icon in Roster

Nolan Eakins sneakin at semanticgap.com
Sat Jun 18 21:02:46 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trejkaz wrote:
| On Sun, 19 Jun 2005 11:13, Hal Rottenberg wrote:
|
|>On 6/16/05, Norman Rasmussen
<normanr at gmail.com> wrote:
|>
|>>Iconsets: Created by authors.  The author can include multiple formats
|>>and sizes for each image, and the client picks the one that it prefers
|>>and displays that (the nearest match unscaled or nearest match with
|>>scaling to preferred size)
|>
|>This is ideal, but how does the client know which is a good choice?
|>Will it have to parse the image header of every icon?
|
|
| Seems that way, doesn't it...

We wouldn't need to read EVERY image. Just enough until we get to a size
we want, "Oh the first is 10x10, don't want that. Next one is 32x32, not
that one either, but we can scale it so lets remember it. Ah ha, the
next one is 16x16. Just what we wanted and we exit the loop with 3 more
to go.

| I suppose that once it knows the right choice for a certain iconset it
could
| cache this metadata somewhere.

That would be a good idea.

| Specifying the actual sizes in the icondef.xml was always one of my
wishes...
| but then again, you're then doubling up on metadata, as well as
opening the
| opportunity to craft evil iconsets... "this image is 10x10!" (while
putting
| in a desktop wallpaper graphic. ;-)

There are also those hacked PNG files...

:-)

- - Nolan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCtO5lhuPszQVSPEARAo8fAJ4gfOZmvwm1OfU1IZnGUEjzCJuVmgCfcZQj
N9CVW5gRnhrR1A+mAhBv5oM=
=re0a
-----END PGP SIGNATURE-----



More information about the Psi-devel-affinix.com mailing list