/inkscape-android-export

This Inkscape extension exports all selected items in different densities. The exported PNGs will be named by their ID in the SVG.

Primary LanguagePython

inkscape-android-export

This Inkscape extension exports all selected items in different densities. The exported PNGs will be named by their ID in the SVG.

Install

Download android_export.inx and android_export.py and copy both files to your $HOME/.config/inkscape/extensions (use $INCSCAPE_HOME\share\extensions on Windows) folder. A restart of Inkscape is required.

Usage

  • mdpi matches 90dpi which is the real pixel size. Set icon size by changing the exported item size in the SVG
  • Select at least one item to export
  • Select Extensions -> Export -> Android Export…
  • Customize the settings according to your needs

License

Copyright 2013 Christian Becker

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.