53 Commits

Author SHA1 Message Date
iceman1001
4df743c2a0 style 2024-01-15 13:08:55 +01:00
Marcos Del Sol Vives
5733f48d2a Fix incorrect Waveshare command 2024-01-08 18:14:02 +01:00
Marcos Del Sol Vives
786ddf3de8 Add image cropping and scaling 2024-01-07 22:25:47 +01:00
iceman1001
d6a01789e2 calloc 2024-01-07 21:54:00 +01:00
Marcos Del Sol Vives
dccb404329 Update cmdhfwaveshare help 2024-01-07 19:29:32 +01:00
Marcos Del Sol Vives
d27669f22c Allow image conversion when offline 2024-01-07 18:05:48 +01:00
Marcos Del Sol Vives
b050ebc2b9 malloc -> calloc 2024-01-07 00:58:13 +01:00
Marcos Del Sol Vives
778a129f52 Use GDlib in Waveshare ePapers command 2024-01-06 19:35:15 +01:00
iceman1001
1a4df13aae fix coverity cid #416068 2023-07-24 22:18:35 +02:00
iceman1001
90a3b968fd coverity dont think we check if we got enough bytes to operate on. The sizeof the bmp_header_t gives a bit, we would need more ... 2023-07-24 15:24:53 +02:00
ah01
b0dcfdf2c5 Add new UID of Waveshare 1.54" NFC ePaper (probably new HW revision) 2023-02-09 01:22:04 +01:00
Philippe Teuwen
8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
Philippe Teuwen
62e95f9220 fix some CodeQL warnings 2022-02-15 16:08:39 +01:00
Philippe Teuwen
30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001
72f2682544 cppcheck 2022-01-06 21:11:51 +01:00
iceman1001
cd825bfac8 cppcheck fixes 2022-01-04 07:28:20 +01:00
iceman1001
77f49c8efc text - unified 2022-01-01 09:39:05 +01:00
Philippe Teuwen
f6d88dced2 rename typedef structs 2021-08-21 22:09:42 +02:00
iceman1001
11362c66f1 fix coverity CID 301400|301401 2021-06-22 13:51:31 +02:00
iceman1001
6633214957 cppchecker fix 2021-01-28 14:22:44 +01:00
iceman1001
12c0eb97fb cppchecker fix 2021-01-28 14:20:33 +01:00
Philippe Teuwen
b4d8222c9a Waveshare: tested diy '2.13 inch e-paper B (with red)' 2020-11-13 22:32:46 +01:00
nyanotech
a28d407e3d waveshare: fix dimensions of 2.7" screen, test 1.54" screen 2020-11-12 20:45:59 +00:00
Philippe Teuwen
e7a76cee5a ugly fix for gcc10 stringop-overflow warning 2020-10-20 19:28:57 +02:00
Philippe Teuwen
8d14b46232 waveshare: tolerate (but ignore) alpha channel 2020-10-19 21:25:24 +02:00
Philippe Teuwen
f1d39f7e53 fix support for waveshare 1.54 2020-10-19 15:48:53 +02:00
Philippe Teuwen
55fa5e7c35 make style 2020-10-11 22:40:05 +02:00
iceman1001
451d82c714 text 2020-10-10 22:52:15 +02:00
iceman1001
64f9bb5e01 style 2020-10-06 18:00:00 +02:00
Philippe Teuwen
a5c6130c7a waveshare: fix 'may be used uninitialized' warning 2020-10-06 14:32:14 +02:00
iceman1001
5304eca07d hf waveshare loadbmp -f only one 2020-10-06 11:58:32 +02:00
iceman1001
afa8393aa8 hf waveshare loadbmp -f is mandatory 2020-10-06 11:53:48 +02:00
iceman1001
701b924f03 hf waveshare loadbmp - now uses cliparser 2020-10-06 11:44:55 +02:00
Philippe Teuwen
72a0ee0994 waveshare: extra checks and info 2020-10-06 11:33:36 +02:00
iceman1001
08a875c259 coverity 301403 2020-10-05 13:56:12 +02:00
iceman1001
980049270c coverity 301403 2020-09-30 20:14:13 +02:00
Philippe Teuwen
c3c59e35cb make style 2020-09-30 14:27:19 +02:00
iceman1001
f7e6327fdf coverity fixes 2020-09-17 23:08:49 +02:00
Philippe Teuwen
7621af2e88 ws: simplify 2020-09-16 09:19:41 +02:00
Philippe Teuwen
16ec5a96e0 ws: fix few bugs 2020-09-16 00:29:50 +02:00
Philippe Teuwen
e15ebbe3d0 ws: generate only needed version and add option to save conversion to file 2020-09-15 23:59:53 +02:00
Philippe Teuwen
9209f8fb7f ws: another guess at width/height based on Android SDK decompilation 2020-09-15 23:00:22 +02:00
Philippe Teuwen
32e04483fc ws 4.2 tested, thans @tcprst! 2020-09-15 20:01:41 +02:00
Philippe Teuwen
903d1a1d36 waveshare: add dithering 2020-09-15 01:25:15 +02:00
Philippe Teuwen
3146305de1 waveshare: fix RGB for some screensizes 2020-09-14 09:48:33 +02:00
Philippe Teuwen
9247613c0b waveshare: fix dimensions 2020-09-14 01:54:31 +02:00
Philippe Teuwen
9751f62940 waveshare: swap some screen dimensions, to be tested... 2020-09-14 01:31:16 +02:00
Philippe Teuwen
6304003a7a waveshare: check image size 2020-09-14 01:16:28 +02:00
Philippe Teuwen
b4aebd140a waveshare: fix multiple issues in BMP RGB handling 2020-09-14 00:18:51 +02:00
Philippe Teuwen
b92c9e845d waveshare: bugfix 2020-09-13 03:46:15 +02:00