Commit Graph
45 Commits
Author SHA1 Message Date
javl 02feb47b37 Small text change 2018-10-08 15:05:56 +02:00
javl ee872fd590 Fixes problem with small images
This should finally fix the problem with small images getting distorted.
Problem appears to have been that with some sizes (basically
everything that wasn't divisible by 8) the last part of a row would be
merged with the first part of the last row, creating an offset that
increased with every next row.

This update pads every last byte of a row with zeros to fill out to 8
bits.

Closing #21
2018-10-08 14:50:47 +02:00
javl b35bb67725 Removes Chrome-only CSS 2018-07-24 16:56:30 +02:00
javl 9332293e77 Updates intro text 2018-07-24 16:34:55 +02:00
whoisnian 0053f736ff update settings['screenWidth'] when convert bytestring into an image 2018-07-20 01:33:18 +08:00
whoisnian b3565df79f fixed the error when convert image into codes in vertical mode 2018-07-20 00:20:26 +08:00
javl c2dbefed97 Update text 2018-05-24 12:19:04 +02:00
javl 84d4091ac7 Formatting JS 2018-05-24 12:04:18 +02:00
javl 5c38e85d58 CSS formatting 2018-05-24 11:36:53 +02:00
javl 044a4e3db9 Fix way trailing whitespace+comma gets removed from code
Closes #18

Instead of removing an x-amount of characters from the strings to get
rid of trailing commas, a regular expression is now used.
2018-05-24 11:31:54 +02:00
javl 43820ab394 Adds image size to comment in code output
Closes issue #13
2018-01-14 17:35:30 +01:00
javl 24e85b89b4 Merge branch 'master' into gh-pages 2018-01-14 17:18:31 +01:00
davidalim 7159e45cce Update numerical inputs to "number" type
-Better numerical input experience with scrolling and ranges
-Makes it easier to adjust the brightness threshold
2018-01-14 00:57:29 -08:00
javl 1b168204b5 Merge branch 'master' into gh-pages 2017-04-28 01:09:22 +02:00
javl bfc03e010c Fix removing images
Closes #7
You are now able to remove images all imags again

Closes #10
All images will now get exported instead of only the ones uploaded last
2017-04-28 01:09:08 +02:00
javl 57853965a7 Minor layout change 2017-04-28 01:03:17 +02:00
javl 324d5f6a9f Slightly changes color of canvas border 2017-04-28 00:19:21 +02:00
javl f3a412d0fe Merge branch 'master' into gh-pages 2017-04-28 00:16:26 +02:00
javl 5163545e3b Comments are now stripped from input before converting 2017-04-28 00:16:18 +02:00
javl 12ba183a56 Merge branch 'master' into gh-pages 2017-04-28 00:07:08 +02:00
javl 13eb816053 Shows an error when converting from string fails 2017-04-28 00:06:22 +02:00
javl 9207eb36cd Merge branch 'master' into gh-pages 2017-04-27 23:54:22 +02:00
javl e6e371ad9b Fixes issue #1
Some images didn't get converted properly. This was easy to
spot in smaller image where the last part seemed to be missing.
Each of the hex values generated stands for a byte = 8 bits =
8 pixels. But sometimes the size of the image caused the last
hex value to contain less than 8 bits (because there weren't
enough pixels left). As the hex values represent 8 pixels being drawn
right to left, the missing bits would cause the pixels to move out
of the canvas.
The solution is to always pad the last hex to a length of 8.
.
2017-04-27 23:44:56 +02:00
javl cb761d138b First step in combining some double code 2017-04-27 23:02:00 +02:00
javl b51546a799 Minor code cleanup 2017-04-27 22:51:21 +02:00
javl e3d3173362 Merge branch 'master' into gh-pages 2016-11-14 13:08:03 +01:00
javl 3aba39972d Merge branch 'master' of https://github.com/javl/image2cpp
Conflicts:
	index.html
2016-11-14 13:07:28 +01:00
javlandGitHub 2929ca4ee0 Merge pull request #6 from wiredolphin/multiple-files
Text input feature: corrected a critic error
2016-11-14 13:04:53 +01:00
vince damiani b4c553cb56 text input field corrected critic error 2016-11-12 18:55:16 +01:00
vince damiani df7ccac482 Text input feature: corrected a critic error 2016-11-12 18:49:31 +01:00
javl 97c26fc456 Updated readme 2016-11-10 12:23:11 +01:00
javl 987db0bfec Merge branch 'multiple-files' of https://github.com/wiredolphin/image2cpp into wiredolphin-multiple-files 2016-11-10 12:11:41 +01:00
vince damiani 94f4166995 GFXbitmapFont correction 2016-11-05 09:40:22 +01:00
vince damiani 26b8a5c628 GFXbitmapFont correction 2016-11-05 09:24:46 +01:00
vince damiani 8ff5be11f6 minor improvements and restyles 2016-11-05 09:03:12 +01:00
vince damiani 8863413340 integrated image and minor improvements
Example image encoded within html, no more external file required.
Added “no files selected” if no images are added.
2016-11-05 08:33:45 +01:00
vince damiani eaf55aec00 multiple-files
1. Re-arranged html structure, used html5 features.
2. Added multiple images capability, images can be added one-by-one or
selecting them with ctrl/cmd from the file dialog.
4. Output for multiple images can be represented by a single byte array
or with a byte array for each images, its identifier will be increased
with a trailing counter.
3. Added ‘GFXfontBitmap’ support.
4. Other smaller improvement.
NOTE: still under testing.
2016-11-04 16:37:01 +01:00
javl c6d4e80a1f Merge branch 'master' of https://github.com/javl/image2cpp 2016-11-02 15:12:08 +01:00
javl a08d3740a3 Adds link to repo 2016-11-02 15:09:28 +01:00
javl 47bf5adb8f Minor CSS change 2016-10-25 13:18:42 +02:00
vince damiani 2c9feab5eb Arduino byte array variable name
Adds the option to change the byte array variable name, useful if a lot
of copy/paste of the generated code is required. The option becomes
visible when “Adda Arduino code” is checked.
2016-10-24 14:59:35 +02:00
javl 414a106e58 Merged all code (HTML, CSS, JS) into a single .html file 2016-01-25 16:35:25 +01:00
javl bd79c5baeb Add link to example file 2016-01-22 15:44:53 +01:00
javl 20ba5c40ec Adds Arduino example, updates script 2016-01-22 15:43:55 +01:00
javl 2a635f471b First version of the tool 2016-01-22 15:04:54 +01:00