From 2b390b908e93a7f6f529b9db624dd0d2c3ca184a Mon Sep 17 00:00:00 2001
From: Kaalleen <36401965+kaalleen@users.noreply.github.com>
Date: Wed, 3 Jul 2024 07:09:06 +0200
Subject: Raster output (#3036)
* stitch plan preview png: 300, 600 dpi
* add png export dpi option
---
templates/png_realistic.xml | 14 ++++++++++++++
templates/png_simple.xml | 3 ++-
templates/stitch_plan_preview.xml | 4 ++--
templates/zip.xml | 40 ++++++++++++++++++++++++++++-----------
4 files changed, 47 insertions(+), 14 deletions(-)
(limited to 'templates')
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 @@
true
png_realistic
+
+
+ 300
+
+
+
+
+
+
+
+
+
+
+
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 @@
0.3
+ 300
@@ -20,7 +21,7 @@
-
+
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 @@
-
-
+
+
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 @@
Create a ZIP with multiple embroidery file formats using Ink/Stitch
true
+ zip
- {%- for format, description, mimetype, category in formats %}
- {%- if category != "vector" and category != "debug" %}
- false
- {%- endif %}
- {%- endfor %}
- false
- false
- false
- 0.3
- false
- zip
+
+
+ {%- for format, description, mimetype, category in formats %}
+ {%- if category != "vector" and category != "debug" %}
+ false
+ {%- endif %}
+ {%- if loop.index == 13 %}
+
+
+
+
+
+ {%- endif %}
+ {%- endfor %}
+ false
+
+
+
+
+
+ false
+ false
+ 300
+ false
+ 0.3
+ 300
+
+
--
cgit v1.2.3