Re: High Quality Icon For GtkWindow

On Wed, Jun 20, 2012 at 1:00 PM, David Nečas <yeti physics muni cz> wrote:
> On Wed, Jun 20, 2012 at 12:49:32PM -0400, Jasper St. Pierre wrote:
>> I don't think it's a good idea to try and transfer a 96x96 and
>> 48x48 icon over the wire, either.
> Do you have any data comparing the transfer of 96×96 icon with the data
> that programs already do transfer over the wire?

So. In order to carry a 16x16, 22x22, 24x24, and a 32x32 icon, we have:

>>> [x*x*4 for x in [16, 22, 24, 32]]
[1024, 1936, 2304, 4096]

and the sum is:

>>> sum(_)

So, around 1k. Not that bad.

>>> [x*x*4 for x in [48, 96]]
[9216, 36864]
>>> sum(_) + 9360

55k for an icon is stretching it.

We already have a way to load a high-quality icon for an application.
I don't think punting 96x96 icons across the wire is worthwhile.
Application matching has a lot of other benefits, so it's worthwhile
just to create a .desktop file.

> Yeti


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]