[Qgis-developer] plugin metadata.txt icon directive
Tom Kralidis
tomkralidis at gmail.com
Thu Mar 31 15:19:19 PDT 2016
On Thu, Mar 31, 2016 at 5:59 PM, Tom Chadwin <tom.chadwin at nnpa.org.uk> wrote:
> My guess is that it won't work well, if at all, in the plugins repo site.
> From memory, SVGs aren't embedded with an tag, and a fallback raster is
> needed anyway for browsers which struggle with SVGs. Perhaps the Django
> handles all of that, generating a fallback PNG and writing the markup
> required, but I'd guess not.
True, looks like it's not supported [1] [2] [3], given it's rooted in
Django image handling.
I'll update the dev cookbook to articulate image formats (png, jpeg, etc.).
Cheers
..Tom
[1] https://github.com/qgis/QGIS-Django/blob/master/qgis-app/plugins/models.py#L186
[2] https://docs.djangoproject.com/en/1.9/ref/models/fields/#django.db.models.ImageField
[3] https://code.djangoproject.com/ticket/14092
More information about the Qgis-developer
mailing list