On Tuesday, May 29, 2012 08:31:01 Lindsay Mathieson wrote:
> Do we still need PNG application icons? I have a app with the usual:
>   hi<size>-app-<appname>.png for 49,32 & 16 pixel sizes, all generated from
> a SVG icon.
> 
> Can we just do away with the png icons now and use just one SVG icon?

The short answer is no, not in general.

The longer answer is that it often pays to change the rendered icon based on 
the constraints of the size. E.g. if your icon was a calendar outline, you 
wouldn't be able to fit even a vague outline of 7 columns by 7 or 8 rows in a 
16x16 icon, so simply scaling that down wouldn't work, you'd need a custom 
icon for that size.

There may be an answer to the question of how to programmatically render icons 
that are both attractive and useful across a wide range of sizes, but SVG 
isn't it.

Of course, it may certainly be the case for a given app that no special icons 
are needed and that the PNG icons are simply dumped directly from SVG. It 
should be fine to get rid of PNG icons in that case (it might be problematic 
if there is a "hicolor" theme fallback for that icon though, I forget the 
order of lookup for the icon theme spec).

Regards,
 - Michael Pyne

Attachment: signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to