[Lazarus] HiRes for IDC icons

Sandro Cumerlato sandro.cumerlato at gmail.com
Tue Aug 23 14:38:50 CEST 2016


Hello Vojtěch,
patch doesn't alter icon visualization, just increase (and make usable
and even touchable!) all the Componet Palette buttons, even on HighDPI
devices.

SVG icons distribution is another matter: I believe that the Lazarus
project should use *only* the SVG file format to store icons (and
other images in general) within the svn trunk repository.

Furthermore, to avoid lossless of quality during conversion a
different set of SVG files should be created: icon1_24x24.svg,
icon1_48x48.svg, icon1_96x96.svg, and so on for all the images/icons
used... If you are thinking that this is too much work to manage then
think to the benefits.

"rsvg-convert" tool is a good solution to convert from SVG to PNG,
since fpvectorial is still immature for such purpose.

Best regards,
Sandro Cumerlato

On 23 August 2016 at 13:53, Vojtěch Čihák <vojtech.cihak at atlas.cz> wrote:
> Will this need to draw again all the hundreds icons of Lazarus components in higher resolution?
> Proper solution would be to distribute *.svg icons packed in *.lrs or *.res resource files of packages and Lazarus will contain something like "rsvg-convert" and will convert *.svg to *.png (*.bmp, *.ico) during installation.
>
> V.
> ______________________________________________________________
>> Od: Sandro Cumerlato <sandro.cumerlato at gmail.com>
>> Komu: Lazarus mailing list <lazarus at lists.lazarus-ide.org>
>> Datum: 23.08.2016 13:33
>> Předmět: Re: [Lazarus] HiRes for IDC icons
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus


More information about the Lazarus mailing list