Merge pull request #2237 from socram8888/waveshare-gd

[WIP] Use GDlib in Waveshare ePapers command
This commit is contained in:
Iceman 2024-01-07 21:51:46 +01:00 committed by GitHub
commit 18fd68900d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 458 additions and 541 deletions

BIN
tools/lena.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

View file

@ -535,6 +535,7 @@ while true; do
if ! CheckExecute "emv test" "$CLIENTBIN -c 'emv test'" "Test\(s\) \[ ok"; then break; fi
if ! CheckExecute "hf cipurse test" "$CLIENTBIN -c 'hf cipurse test'" "Tests \[ ok"; then break; fi
if ! CheckExecute "hf mfdes test" "$CLIENTBIN -c 'hf mfdes test'" "Tests \[ ok"; then break; fi
if ! CheckExecute "hf waveshare load" "$CLIENTBIN -c 'hf waveshare load -m 6 -f tools/lena.bmp -s dither.bmp' && echo '34ff55fe7257876acf30dae00eb0e439 dither.bmp' | md5sum -c" "dither.bmp: OK"; then break; fi
fi
echo -e "\n------------------------------------------------------------"
echo -e "Tests [ ${C_GREEN}OK${C_NC} ] ${C_OK}\n"