Commit Graph
96 Commits
Author SHA1 Message Date
javl f3313d4581 move code to separate .js file 2023-05-02 14:40:44 +02:00
javl 877f14406a fix error with drawing the background in the wrong location 2023-05-02 14:11:47 +02:00
javl 6b1b4e2b3f fix some scaling issues 2023-05-02 14:03:37 +02:00
javl 3eb12bbf1e update some label positions 2023-05-02 12:43:35 +02:00
javl a7decafb85 more rotation options 2023-05-02 12:35:33 +02:00
javl e33c612cb0 fix typo breaking export 2023-05-02 11:28:03 +02:00
javl 7fc1c7df11 remove logging 2023-05-02 11:21:10 +02:00
javl 98b6f3093b Add dithering options 2023-05-01 22:42:21 +02:00
javl cf0884ceb9 Merge branch 'main' into gh-pages 2023-05-01 18:03:07 +02:00
javl e2b4651023 Merge branch 'master' 2023-05-01 18:02:48 +02:00
javl 88d55eae6f convert intdentation to spaces 2023-05-01 18:01:21 +02:00
javl 41cdddaad4 Merge branch 'master' into gh-pages 2023-05-01 18:00:14 +02:00
javl e03e63a8bc convert indentation to spaces 2023-05-01 17:58:50 +02:00
javl 0e71889008 add option to hide ', 0x' from plain bytes output 2023-05-01 17:55:23 +02:00
javl 1e8018bb78 convert tabs to spaces 2023-03-29 14:31:12 +02:00
javl 124218b652 formatting 2023-03-29 14:29:08 +02:00
javl 4a82961349 typo 2023-03-29 14:28:38 +02:00
javl 452006eaee formatting 2023-03-26 17:32:53 +02:00
javl 229c17aa2c add sponsorlink to page 2023-03-26 17:30:50 +02:00
javl 955ec881c2 rename download btn 2023-03-14 08:39:29 +01:00
Jasper van LoenenandGitHub d25ac63a58 Merge pull request #54 from dotcypress/main
Binary download feature
2023-03-14 08:38:53 +01:00
javl 6d252d3ab0 Update layout a bit 2023-03-14 08:32:13 +01:00
Jasper van LoenenandGitHub 12c6bae46f Merge pull request #51 from plewka/patch-1
Support ESP+u8g2 with optional bitswap
2023-03-14 08:09:24 +01:00
Vitaly Domnikov e590cbdb71 sort files 2023-01-29 12:26:12 -08:00
Vitaly Domnikov c17fb10e0b format code 2022-09-29 14:09:47 -07:00
Vitaly Domnikov eddd5358cb rename button 2022-09-29 14:09:07 -07:00
Vitaly Domnikov c5f4a6056f download feature 2022-09-29 14:01:14 -07:00
plewkaandGitHub a30a5c4c6b Support ESP+u8g2 with optional bitswap
Somewhere (SPI Interface?) there is a MSB/LSB swap when using the converter with ESP32 and the U8g2 library 
which distorts the output.
I checked with 1bit per pixel output but added an optional bitswap checkbox, a function to do optinal swap and 
added it to all output functions.
The lvgl online converter has got the same problem. Maybe there is is something wrong with the u8g...
Since endian is a traditional an generic issue I thought it's probably a nice feature inside the converter 
which at least works fine for me.
2021-11-24 11:10:21 +01:00
Daniyal-Warraich 1609f14253 adds copy function 2021-11-13 14:32:22 -06:00
javl 02d487f6c4 update credits 2021-11-06 17:22:51 +01:00
Harry Best 5dbf7e5ec2 Add list of uploaded files in select image section 2021-09-07 10:26:25 +01:00
javl d50fd471a9 Merge akumpf:patch-1 2021-06-11 14:32:10 +02:00
javl 5951c7d012 Merge remote-tracking branch 'up/patch-1' into HEAD 2021-06-11 14:20:52 +02:00
javl cbdf997ccf feat: add option to flip image, fixed #45 2021-06-11 13:42:07 +02:00
javl baf58ac41d refactor: add some whitespace 2021-06-11 11:03:40 +02:00
javl e9e1c07786 refactor: css formatting 2021-06-11 10:38:42 +02:00
javl 101464d201 fix: remove duplicate function, closing #39 2021-06-11 10:36:22 +02:00
Sebski123andGitHub a33224f98f Update index.html 2021-03-29 16:47:41 +02:00
Sebski123andGitHub f895229c70 Made RegEx matching more general 2021-03-29 16:44:54 +02:00
Adam KumpfandGitHub 115a0198ba Batch processing simplifier -- Update naming to include filename. Add pointer array for iterating. Add rotate180 option. Output for Arduino by default. 2020-12-01 11:39:10 -05:00
hurricaneJoefandGitHub 70c21e5c69 fixin time
bugs, man
2020-07-10 20:54:59 -04:00
hurricaneJoefandGitHub 32f1e7e4bd Update index.html
added rgb888support
2020-07-10 20:41:16 -04:00
Jochen Derwae f6f4ebd17a Fix for https://github.com/javl/image2cpp/issues/28 2019-12-04 15:47:01 +01:00
javl 94c07d3595 update some notes on page 2019-11-30 14:57:14 +01:00
Jochen Derwae 9654bb6582 Reinstated the code to convert canvas contents to black and white and made it conditional based on the selected conversion function 2019-11-19 17:03:11 +01:00
Jochen Derwae eab5bd744f Added fill style for transparent background (erase buffer to full transparency) 2019-11-12 20:10:23 +01:00
Jochen Derwae 0178ece9e3 Updated imageToString() to remove the now deprecated orientation parameter
Updated outputString() to deal with the updated imageToString()
2019-11-12 16:41:55 +01:00
Jochen Derwae 10b7cf3a65 Updated horizontal565() to output 16bit hex strings
Added getType() to determine the arduino array type of the output
Updated outputString() to use the new getType() function
2019-11-12 16:31:59 +01:00
Jochen Derwae 8146ef5b13 Added support for RGB 565 images (16 bit colors) and transparency bitmasks for use with a ST7789 (or similar) display. Look at the Adafruit_GFX::drawRGBBitmap functions for using these bitmaps.
UI changes:
 - added a "Transparent" option in "Background color" selection
 - replaced drawMode radio buttons with a drop-down list
 - added a div (id=note1bit) around the note to switch to vertical mode

Code changes:
 - added a ConversionFunctions object to hold the conversion functions (this makes it extendable towards more formats)
 - renamed imageToStringHorizontal() to horizontal1bit()
 - renamed imageToStringVertical() to vertical1bit()
 - added horizontal565() to generate 16 bit 565 RGB images
 - added horizontalAlpha() to generate transparency masks based on the image alpha value
 - added conversionFunction to settings object
 - added updateDrawMode() to handle the draw mode selection - also hides the note when using the new modes
 - updated place_image() to skip background fill in case transparency is selected
 - updated place_image(), commented out the conversion to black & white. Not sure at this time how to enable it again... drawMode?
 - updated imageToString() to use the conversionFunction from settings
 - moved getting the image raw data array from the conversion functions imageToString()
2019-11-12 15:14:26 +01:00
javl 7f10be0721 When using horizontal or vertical alignment, always round to the nearest pixel to prevent artifacts. Fixes 23 2019-10-07 16:37:06 +02:00