Changes between Version 12 and Version 13 of Help/Base64


Ignore:
Timestamp:
2019-08-31T15:03:06+02:00 (6 years ago)
Author:
Klumbumbus
Comment:

reorder

Legend:

Unmodified
Added
Removed
Modified
  • Help/Base64

    v12 v13  
    33
    44If you want to use inline encoding of icons for [wiki:Maps Imageries], [wiki:Presets], [wiki:Styles] or [wiki:Rules] here are some hints.
    5 
    6 Examples:
    7 * {{{data:image/png;base64,...databytes...}}}
    8 * {{{data:image/svg+xml;base64,...databytes...}}}
    95
    106You can use web tools to convert your image to the base64 code, e.g. [http://www.base64-image.de base64-image.de] or [https://base64.guru/converter/encode/image base64.guru].
     
    1410* for `.svg` files: Use e.g. [https://github.com/RazrFalcon/svgcleaner-gui/releases svg cleaner]. When using this one you can use the "complete" preset to clean up the svg file. More information about possible problems with svg in JOSM see [wiki:DevelopersGuide/DefaultPresets#NewIcons].
    1511
     12Examples:
     13* {{{data:image/png;base64,...databytes...}}}
     14* {{{data:image/svg+xml;base64,...databytes...}}}
     15
    1616----
    1717Back to [wiki:Styles#Iconhandling Styles#Iconhandling]