diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/png_realistic.xml | 14 | ||||
| -rw-r--r-- | templates/png_simple.xml | 3 | ||||
| -rw-r--r-- | templates/stitch_plan_preview.xml | 4 | ||||
| -rw-r--r-- | templates/zip.xml | 40 |
4 files changed, 47 insertions, 14 deletions
diff --git a/templates/png_realistic.xml b/templates/png_realistic.xml index 93f0ee2b..7aae6696 100644 --- a/templates/png_realistic.xml +++ b/templates/png_realistic.xml @@ -10,6 +10,20 @@ <dataloss>true</dataloss> </output> <param name="extension" type="string" gui-hidden="true">png_realistic</param> + <param name="notebook" type="notebook"> + <page name="settings" gui-text="Settings"> + <param name="dpi" type="int" min="100" max="2000" gui-text="DPI">300</param> + </page> + <page name="info" gui-text="Help"> + <label appearance="header">PNG file export</label> + <label>Export embroidery design to PNG</label> + <spacer /> + <separator /> + <spacer /> + <label>Read more on our website</label> + <label appearance="url">https://inkstitch.org/docs/import-export/</label> + </page> + </param> <script> {{ command_tag | safe }} </script> diff --git a/templates/png_simple.xml b/templates/png_simple.xml index be12e784..e42a8819 100644 --- a/templates/png_simple.xml +++ b/templates/png_simple.xml @@ -13,6 +13,7 @@ <param name="notebook" type="notebook"> <page name="settings" gui-text="Settings"> <param name="line_width" type="float" precision="2" min="0.01" max="5" gui-text="Line width (mm)">0.3</param> + <param name="dpi" type="int" min="100" max="2000" gui-text="DPI">300</param> </page> <page name="info" gui-text="Help"> <label appearance="header">PNG file export</label> @@ -20,7 +21,7 @@ <spacer /> <separator /> <spacer /> - <label>Read more on our webiste</label> + <label>Read more on our website</label> <label appearance="url">https://inkstitch.org/docs/import-export/</label> </page> </param> diff --git a/templates/stitch_plan_preview.xml b/templates/stitch_plan_preview.xml index f7180915..a3385ed3 100644 --- a/templates/stitch_plan_preview.xml +++ b/templates/stitch_plan_preview.xml @@ -14,8 +14,8 @@ <param name="render-mode" type="optiongroup" appearance="combo" gui-text="Render Mode" gui-description="Realistic modes will render to a raster image for performance reasons. Realistic Vector may cause Inkscape to slow down for complex designs."> <option value="simple">Simple</option> - <option value="realistic-8">Realistic</option> - <option value="realistic-16">Realistic High Quality</option> + <option value="realistic-300">Realistic</option> + <option value="realistic-600">Realistic High Quality</option> <option value="realistic-vector">Realistic Vector (slow)</option> </param> <spacer /> diff --git a/templates/zip.xml b/templates/zip.xml index c34027eb..277bbae9 100644 --- a/templates/zip.xml +++ b/templates/zip.xml @@ -9,23 +9,41 @@ <filetypetooltip>Create a ZIP with multiple embroidery file formats using Ink/Stitch</filetypetooltip> <dataloss>true</dataloss> </output> + <param name="extension" type="string" gui-hidden="true">zip</param> <param name="custom-file-name" type="string" gui-text="Custom file name" gui-description="Defines the file names inside the zip archive. Leave empty for default file name."></param> <spacer /> <param name="notebook" type="notebook"> <page name="file-formats" gui-text="File Formats"> <label>Output formats:</label> - {%- for format, description, mimetype, category in formats %} - {%- if category != "vector" and category != "debug" %} - <param name="format-{{ format }}" type="boolean" gui-text=".{{ format | upper }}: {{ description }}">false</param> - {%- endif %} - {%- endfor %} - <param name="format-threadlist" type="boolean" gui-text=".TXT: Threadlist [COLOR]">false</param> - <param name="format-png_realistic" type="boolean" gui-text=".PNG: Portable Network Graphics (Realistic) [IMAGE]">false</param> - <param name="format-png_simple" type="boolean" gui-text=".PNG: Portable Network Graphics (Simple) [IMAGE]">false</param> - <param name="png_simple_line_width" type="float" precision="2" min="0.01" max="5" gui-text="Line width (mm)" indent="4">0.3</param> - <param name="format-svg" type="boolean" gui-text=".SVG: Scalable Vector Graphic">false</param> - <param name="extension" type="string" gui-hidden="true">zip</param> + <hbox> + <vbox> + {%- for format, description, mimetype, category in formats %} + {%- if category != "vector" and category != "debug" %} + <param name="format-{{ format }}" type="boolean" gui-text=".{{ format | upper }}: {{ description }}">false</param> + {%- endif %} + {%- if loop.index == 13 %} + </vbox> + <spacer /> + <separator /> + <spacer /> + <vbox> + {%- endif %} + {%- endfor %} + <param name="format-threadlist" type="boolean" gui-text=".TXT: Threadlist [COLOR]">false</param> + </vbox> + <spacer /> + <separator /> + <spacer /> + <vbox> + <param name="format-svg" type="boolean" gui-text=".SVG: Scalable Vector Graphic">false</param> + <param name="format-png-realistic" type="boolean" gui-text=".PNG: Portable Network Graphics (Realistic) [IMAGE]">false</param> + <param name="dpi-realistic" type="int" min="100" max="2000" gui-text="DPI" indent="4">300</param> + <param name="format-png-simple" type="boolean" gui-text=".PNG: Portable Network Graphics (Simple) [IMAGE]">false</param> + <param name="png-simple-line-width" type="float" precision="2" min="0.01" max="5" gui-text="Line width (mm)" indent="4">0.3</param> + <param name="dpi-simple" type="int" min="100" max="2000" gui-text="DPI" indent="4">300</param> + </vbox> + </hbox> </page> <page name="panelization" gui-text="Panelization Options"> <label>For single design set horizontal and vertical repeats to 1</label> |
