From 414a106e58382e8ae819752bae9f359d8e9c7ef4 Mon Sep 17 00:00:00 2001 From: javl Date: Mon, 25 Jan 2016 16:35:25 +0100 Subject: [PATCH] Merged all code (HTML, CSS, JS) into a single .html file --- index.html | 657 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 544 insertions(+), 113 deletions(-) diff --git a/index.html b/index.html index 607fd74..0d29e21 100644 --- a/index.html +++ b/index.html @@ -1,127 +1,558 @@ - - image2cpp - + + image2cpp + -
-

image2cpp

-

- - - - - -
-

1. Select image

-
- no image selected - -
or -

1. Paste byte array

-
- - -
-

-
+
+

image2cpp

+

+ + + + + +
+

1. Select image

+
+ no image selected + +
or +

1. Paste byte array

+
+ + +
+

+
-

-

2. Image Settings

- * pixels
- - -
- 0 - 255; pixels with brightness above become white, below become black.
- -
+

+

2. Image Settings

+ * pixels
+ + +
+ 0 - 255; pixels with brightness above become white, below become black.
+ +
-
-
- Centering the image only works when using a canvas larger than the selected image.
- -

+
+
+ Centering the image only works when using a canvas larger than the selected image.
+ +

-
+
-

-

3. Preview

- -

+

+

3. Preview

+ +

-
+
-

-

4. Output

-
- Adds some extra Arduino code around the output for easy copy-paste into this example.
-
- - -
- If your image looks all messed up on your display, like the image below, try the other mode.
-
-

-

- -

-
- +

+

4. Output

+
+ Adds some extra Arduino code around the output for easy copy-paste into this example.
+
+ + +
+ If your image looks all messed up on your display, like the image below, try the other mode.
+
+

+

+ +

+
+