Merge pull request #602 from housten/patch-1

Correct badge picture dimensions
This commit is contained in:
Philip Howard 2022-12-16 21:04:13 +00:00 committed by GitHub
commit 5a2a62b471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ An example of drawing text and graphics and using the buttons.
Create your own name badge! This application looks for two files on your MicroPython drive: Create your own name badge! This application looks for two files on your MicroPython drive:
* `badge.txt` - A text file containing 6 lines, corresponding to the 6 different pieces of text on the badge * `badge.txt` - A text file containing 6 lines, corresponding to the 6 different pieces of text on the badge
* `badge-image.bin` - A 108x128px 1-bit colour depth image to display alongside the text. You can use `examples/badger2040/image_converter/convert.py` to convert them: * `badge-image.bin` - A 104x128px 1-bit colour depth image to display alongside the text. You can use `examples/badger2040/image_converter/convert.py` to convert them:
```shell ```shell
python3 convert.py --binary --resize image_file_1.png image_file_2.png image_file_3.png python3 convert.py --binary --resize image_file_1.png image_file_2.png image_file_3.png