Toolbar Icon Size on 4K Monitor
-
@unknownuser said:
For inof, all my plugins can support PNG, SVG and PDF (as everything is managed by LibFredo6).
Awesome!!
@slbaumgartner said:
You can draw the icon artwork at whatever size you wish. The view of the contents will be scaled to fit the available space in the toolbar button, so the physical size you drew is irrelevant. But you do need to verify that you haven't put details into the artwork that won't be visible
Do I have to re-draw them? Can't I just continue converting them from jpg/png to svg?
-
You can convert png or jpg to svg or pdf, but since the content is a raster image it most likely won't look good when scaled. The contents need to be vector to scale cleanly.
-
PNG and JPG are raster images whilst SVG is a vector, Whilst you can save a raster image as an SVG its a complete waste of time as it will remain a raster image but it'll be encoded in XML and be substantially larger (file size) than the original.
To create proper SVG's you need a vector app such as Adobe Illustrator, Affinity Designer etc. Photoshop (raster app) will NOT create proper SVG's
SVG's are size independent, they will look no better or worse if you create them on a 10000x10000px canvas or a 100x100 one and dpi is irrelevant outside of the paper print industry for any image be it JPG, PNG or especially SVG.I've attached a zip file containing 2 SVG's, one is a logo I did recently (lei-logo-pt1-colour.svg) in Affinity Designer. If you look at it in a text editor you'll see its just a simple set of instructions in XML defining an elements shape/fill/border etc.
The other is an SVG I hand wrote for fun (SolarSys-V4.svg), as it's handwritten it's far clearer to see the XML structure ... and it's animatedTL;DR
Don't convert PNG/JPG to SVG, make them from scratch.
-
Inkscape has a feature to vectorize a bitmap (Trace Bitmap) and it can be used to quickly convert some icons, provided you have a decent quality of the raster image.
You can try with small icons, but I doubt there will be enough resolution in them to get a decent result. See attached.
However, with a decent quality image, the results can be impressive. -
Miracle
With the latest Win10 update all icons are now full size!!! Not to look a gift horse in the mouth but now I wish I could make them a bit smaller
Has this happened to anyone else?
-
UPDATE
Updated Nvidia driver from 391.35 to 397.31 and all of the non-svg icons went back to tiny.
-
@bob james said:
UPDATE
Updated Nvidia driver from 391.35 to 397.31 and all of the non-svg icons went back to tiny.
Are you sure the screen resolution was set correctly by the previous driver when you did that update?
-
@juju said:
Are you sure the screen resolution was set correctly by the previous driver when you did that update?
No way to know now unless I go back to 391.35. Resolution is set at its recommended value.
-
UPDATE
I re-loaded the latest Nvidia driver and that fixed the problem: all the icons are full size. But, as I said before, they are actually too large and would really like some way to scale them down, Change the screen scale??
-
I've just updated my 3pt Window and 3pt Rectangle scripts with vector icons.
-
Thank you Pixero
Advertisement