wiki:Help/Base64

Version 6 (modified by Klumbumbus, 11 years ago) ( diff )

add TranslatedPages

If you want to use inline encoding of icons for Presets, Styles or Rules here are some hints.

Examples:

  • data:image/png;base64,...databytes...
  • data:image/svg+xml;base64,...databytes...

You can use web tools to convert your image to the base64 code like ​this one.

If you use svg you should clean up the svg file before you convert it to the base64 code, to make the base64 a lot shorter. For windows you can use e.g. ​svg cleaner. When using this one you can use the "complete" preset to clean up the svg file.


Back to Styles#Iconhandling

Note: See TracWiki for help on using the wiki.