From dbe5e6e10c980231fd0f99725670c482ddd6bc8d Mon Sep 17 00:00:00 2001 From: Alex Matulich Date: Tue, 22 Apr 2025 23:45:39 -0700 Subject: [PATCH] Added img2scad.html web app to scripts directory --- scripts/img2scad.html | 406 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 406 insertions(+) create mode 100644 scripts/img2scad.html diff --git a/scripts/img2scad.html b/scripts/img2scad.html new file mode 100644 index 00000000..e60aacf1 --- /dev/null +++ b/scripts/img2scad.html @@ -0,0 +1,406 @@ + + + + + Image to OpenSCAD array, v5 + + + + +

Convert image to OpenSCAD array

+

This utility accepts any raster image and converts it to grayscale expanded to use the maximum possible luminance range. Alpha channel is ignored. After resizing, rotating, or reflecting the image as desired, you may save it as an OpenSCAD array.

+
+
+
+
+

Select an image

+ +

You can also paste an image (Ctrl+V) into this section from your clipboard.

+
+ +
+

+ +
+
+ +
+
+ +

Transformations

+ +
+ +
+ + + +

Appearance

+ +
+ + +
+ +
+
+ + +
+ +

Output

+ +
+ + +
+ +
+
+
+ +
+

+
+ +
+
+
+ +
+
+ + + + +