aboutsummaryrefslogtreecommitdiff

"Save as image map" Inkscape extension

Enables Inkscape to turn hyperlinked SVGs into image maps. Supports HTML, XHTML, and mod_imagemap formats. Requires Inkscape 1.4.3 or newer, due to changes in the path-split feature.

Installing

The installable ZIP extension can be downloaded from the "Save as image map" extension page on inkscape.org. You can also create the ZIP from this source code by running make.

Contributing

One should know how to use Git. The canonical URL for this repository is https://git.viatrix.computer/inx.imagemap. Send patches or pull requests to inx.imagemap@git.viatrix.computer.

Contributing code

When you change code, run the tests to confirm everything still works. See the inkex unit test documentation. You will likely need to set the INKSCAPE_COMMAND and PYTHONPATH environment variables.

If you add any translatable strings, you can run make pot to regenerate the imagemap.pot file.

Contributing translations

Use the imagemap.pot file as a template for translation. Translations go in imagemap.po files in subdirectories of the locale/ folder. The subdirectories are titled after gettext locale names.