Changes between Version 10 and Version 11 of Help/Base64


Ignore:
Timestamp:
2018-04-04T19:39:49+02:00 (7 years ago)
Author:
Klumbumbus
Comment:

add link for png minimizer, rework page

Legend:

Unmodified
Added
Removed
Modified
  • Help/Base64

    v10 v11  
    66* {{{data:image/svg+xml;base64,...databytes...}}}
    77
    8 You can use web tools to convert your image to the base64 code like [http://www.base64-image.de this one].
     8You can use web tools to convert your image to the base64 code, e.g. [http://www.base64-image.de base64-image.de].
    99
    10 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 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].
     10''Before'' you convert your image to the base64 code you should minify it to make the base64 a lot shorter (without loosing quality):
     11* for `.png` files: Use e.g. [http://compresspng.com/ compresspng.com].
     12* 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].
    1113
    1214