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

Vojtěch Čihák vojtech.cihak at atlas.cz
Sun Feb 26 19:44:00 CET 2017


Yes, I understand. But it also depend on the content of an icon. I added one example where the aliasing is visible.
 
V.
 
______________________________________________________________
> Od: Sven Barth via Lazarus <lazarus at lists.lazarus-ide.org>
> Komu: Lazarus mailing list <lazarus at lists.lazarus-ide.org>
> Datum: 26.02.2017 19:28
> Předmět: Re: [Lazarus] LCL High-DPI request for help adding images
>
Am 26.02.2017 18:01 schrieb "Vojtěch Čihák via Lazarus" <lazarus at lists.lazarus-ide.org <lazarus at lists.lazarus-ide.org>>:
 >
 > I use Inkscape for icons. I use some template 64*64 px (although px means nothing in vector format, it is moreless for help-grid only). Then I use rsv-convert tool to convert icons to *.png. The icons looks best with integer multiples/divisor (i.e. 16, 32, 64, 128 px etc.). The non-integer look is also accepatble (24, 48, 96 px).
At my company we design each icon size by hand as the non-integer devisions would definitely not be acceptable due to aliasing and also the details of the icons can more easily be adjusted to fit the icon size.
 So if SVG support should be added there should always be the possibility to do it the "hard" way as well if one wants to have pixel perfect icons.
Regards,
 Sven

 
 ----------
 
 -- 
 _______________________________________________
 Lazarus mailing list
 Lazarus at lists.lazarus-ide.org
 http://lists.lazarus-ide.org/listinfo/lazarus <http://lists.lazarus-ide.org/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/bee01459/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr20.png
Type: image/png
Size: 537 bytes
Desc: arr20.png
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/bee01459/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr24.png
Type: image/png
Size: 554 bytes
Desc: arr24.png
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/bee01459/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr32.png
Type: image/png
Size: 303 bytes
Desc: arr32.png
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/bee01459/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr48.png
Type: image/png
Size: 618 bytes
Desc: arr48.png
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/bee01459/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr64.png
Type: image/png
Size: 404 bytes
Desc: arr64.png
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/bee01459/attachment-0009.png>


More information about the Lazarus mailing list