[Qgis-developer] SVG-Icons instead of PNGs?
Andreas Neumann
a.neumann at carto.net
Tue Jul 31 04:49:24 PDT 2012
I think it would be worth a try to use the SVG symbols directly - or at
least offer the option to use them.
Andreas
On Tue, 31 Jul 2012 12:38:07 +0200, G. Allegri wrote:
> Scaling SVG in Inkscapes is known to be problematic. Are you sure
> that
> this applies to Qt SVG scaling too?
>
> giovanni
>
> 2012/7/31 Robert Szczepanek
>
>> Hi Andreas,
>>
>> I made fast SVG downscaling test. Rendered with Inkscape.
>> Second column is shifted vertically by 0,5px.
>> As you can see main problem is "travelling blur" effect. Perhaps
>> there are some smart renderers to overcome this.
>>
>> I would also like to have just one SVG file...
>> Robert
>>
>> On 31.07.2012 10 [3]:30, Andreas Neumann wrote:
>>
>>> Hi Robert,
>>>
>>> Thanks for the reply.
>>>
>>> Do you have a side-by-side comparison of SVG vs. png and the
>>> rendering
>>> quality somewhere? I wonder if this is still an issue and if it
>>> is - how
>>> much of a problem it really is.
>>>
>>> Having just one icon size instead of n different sizes also has a
>>> lot of
>>> advantages. Think about all the new high-dpi devices. These would
>>> benefit a lot from SVG instead of PNG.
>>>
>>> Andreas
>>>
>>> On Tue, 31 Jul 2012 00:53:40 +0200, Robert Szczepanek wrote:
>>>
>>>> Hi Andreas,
>>>>
>>>> On 29.07.2012 12:22, Andreas Neumann wrote:
>>>>
>>>>> Regarding the discussion around the icons?
>>>>>
>>>>> How about using SVG icons instead of fixed size png icons?
>>>>> That way one
>>>>> could easily scale the icon sizes on different devices to the
>>>>> preferred
>>>>> scale and taste of the user.
>>>>
>>>> From my test and literature I found that simple vector scaling
>>>> for
>>>> small size icons (16x16 - 24-24) is not recommended. For higher
>>>> images
>>>> blur effect is not so visible and important.
>>>>
>>>>> Are there any technical reasons for using PNGs instead of
>>>>> SVGs? I
>>>>> believe the source of the icons is SVG anyway?
>>>>>
>>>>> For my own in house python plugins I always use the SVG
>>>>> icons.
>>>>
>>>> The main technical reason was image quality. We decided to use
>>>> already rendered images in "native resolution". I know it
>>>> sounds
>>>> stupid in Scalable Vector ... context, but that's the reality.
>>>> Whole version 0.1 of GIS icons was designed in just one SVG
>>>> file. In
>>>> version 0.2 I save them in separate files. So most of the icons
>>>> is at
>>>> the moment available as one file per icon.
>>>>
>>>> regards,
>>>> Robert
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org [4]
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer [5]
>
>
>
> Links:
> ------
> [1] mailto:Qgis-developer at lists.osgeo.org
> [2] http://lists.osgeo.org/mailman/listinfo/qgis-developer
> [3] http://webmail.carto.net/tel:31.07.2012%2010
> [4] mailto:Qgis-developer at lists.osgeo.org
> [5] http://lists.osgeo.org/mailman/listinfo/qgis-developer
> [6] mailto:robert at szczepanek.pl
--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
More information about the Qgis-developer
mailing list