This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz_pixel2svg.inx

45 lines
2.3 KiB
Plaintext
Raw Normal View History

2020-08-07 20:18:20 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Pixel2SVG</name>
<id>fablabchemnitz.de.pixel2svg</id>
<param name="tab" type="notebook">
2020-08-07 20:19:46 +02:00
<page name="pixel2svg_tab" gui-text="Options">
<param name="squaresize" type="int" min="1" max="100" gui-text="Width and height of vector squares in pixels">5</param>
<param name="offset_image" type="bool" gui-text="Offset traced image">true</param>
<param name="delete_image" type="bool" gui-text="Delete bitmap image">false</param>
2020-08-07 20:18:20 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="advanced_tab" gui-text="Advanced">
<param name="transparency" type="bool" gui-text="Convert transparency to 'fill-opacity'">true</param>
<param name="overlap" type="bool" gui-text="Overlap vector squares by 1px">false</param>
<param name="verbose" type="bool" gui-text="Report image info (size, format, mode)">false</param>
<param name="maxsize" type="int" min="1" max="10000" gui-text="Max. image size (width or height)">256</param>
2020-08-07 20:18:20 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="advanced_color_tab" gui-text="Colors">
<param name="color_mode" type="optiongroup" appearance="combo" gui-text=" ">
<option value="all">Trace all colors.</option>
<option value="other">Don't trace this color:</option>
<option value="this">Only trace this color:</option>
2020-08-07 20:18:20 +02:00
</param>
2020-08-07 20:19:46 +02:00
<param name="color" type="string" max_length="6" gui-text="Color (hex):">FFFFFF</param>
2020-08-07 20:18:20 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="about_tab" gui-text="About">
<param name="instructions" type="description" xml:space="preserve">This extension is based on:
2020-08-07 20:18:20 +02:00
pixel2svg - converts pixel art to SVG - pixel by pixel.
Copyright 2011 Florian Berger
http://florian-berger.de/en/software/pixel2svg
2020-08-07 20:19:46 +02:00
</param>
2020-08-07 20:18:20 +02:00
</page>
</param>
<effect needs-document="true" needs-live-preview="true">
<object-type>image</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Tracing/Edge Detection"/>
2020-08-07 20:18:20 +02:00
</submenu>
</effects-menu>
</effect>
<script>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_pixel2svg.py</command>
2020-08-07 20:18:20 +02:00
</script>
2020-08-07 20:19:46 +02:00
<options silent="false"/>
2020-08-07 20:18:20 +02:00
</inkscape-extension>