[Lazarus] LCL High-DPI request for help adding images

Donald Ziesig donald at ziesig.org
Sun Feb 26 17:01:19 CET 2017


On 02/26/2017 10:33 AM, Vojtěch Čihák via Lazarus wrote:
>
> Wouldn't be better (or would it be possible) to have *.svg icons in 
> resources and generate *.png icons on start of IDE? Now you add 150% 
> and 200%, later will come 250, 300% as 4k, 5k and 8k monitors come to 
> market.
>
> V.
>
> ______________________________________________________________
> > Od: Ondrej Pokorny via Lazarus <lazarus at lists.lazarus-ide.org>
> > Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> > Datum: 22.02.2017 00:33
> > Předmět: [Lazarus] LCL High-DPI request for help adding images
> >
>
> Update: I worked further today (unfortunately...)
>
> I also added icon scaling support to the IDE. The IDE now can load 150%
> and 200% versions of the icons. If a High-DPI icon is missing, the
> normal icon is upscaled (with the worst algorithm, but that's what is
> available in the IDE).
>
> Request: search for volunteers who would add at least the most important
> IDE icons (open, save, desktops - basically what is visible in the
> coolbars). Please see images/README.txt for more info.
>
> Note: the High-DPI icons are used only from 144DPI (150%) upwards.
> 120DPI (125%) uses the original icons (which is default on Windows, 
> AFAIK).
>
> Thanks
> Ondrej
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus
>
>
I agree.  I just spent most of two days rescaling the icons with gimp, 
then registering them.  It looks good, but I sure would not want to have 
to repeat for 200%, etc.

Don

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/e443635f/attachment.html>


More information about the Lazarus mailing list