InfiniTime/doc
Reinhold Gschweicher 77546c9fe2 lv_img_conv_py: minimal python port of node module
Create a minimal python port of the node.js module `lv_img_conv`. Only
the currently in use color formats `CF_INDEXED_1_BIT` and
`CF_TRUE_COLOR_ALPHA` are implemented.

Output only as binary with format `ARGB8565_RBSWAP`.

This is enough to create the `resources-1.13.0.zip`.

Python3 implements "propper" "banker's rounding" by rounding to the nearest
even number. Javascript rounds to the nearest integer.
To have the same output as the original JavaScript implementation add a custom
rounding function, which does "school" rounding (to the nearest integer)

Update CMake file in `resources` folder to call `lv_img_conf.py` instead of
node module.

For docker-files install `python3-pil` package for `lv_img_conv.py` script.
And remove the `lv_img_conv` node installation.

---

gen_img: special handling for python lv_img_conv script

Not needed on Linux systems, as the shebang of the python script is read
and used. But just to be sure use the python interpreter found by CMake.
Also helps if tried to run on Windows host.

---

doc: buildAndProgram: remove node script lv_img_conv mention

Remove node script `lv_img_conv` mention and replace it for
runtime-depency `python3-pil` of python script `lv_img_conv.py`.
2023-10-26 22:45:01 +02:00
..
ble Fix various typos 2022-06-05 09:31:23 +03:00
bootloader Reorganize bootloader readme 2021-11-28 13:42:37 +01:00
code Fix Apps documentation DisplayApp method name 2023-01-22 09:08:06 +02:00
gettingStarted minor grammar edits 2023-01-22 08:51:02 +02:00
logo Move all images to doc. Remove old images. (#1282) 2022-08-21 14:42:53 +03:00
memoryAnalysis Rewrite MemoryAnalysis.md with up to date information. (#411) 2021-06-12 11:02:54 +02:00
openOCD Move all images to doc. Remove old images. (#1282) 2022-08-21 14:42:53 +03:00
ui Add image with example layouts 2021-08-15 11:19:47 +02:00
ble.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
BLEFS.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
branches.md branches: Update files to refer to main instead of develop 2023-03-02 09:45:47 +02:00
buildAndProgram.md lv_img_conv_py: minimal python port of node module 2023-10-26 22:45:01 +02:00
buildWithDocker.md Include repository initialization in docker build docs 2023-08-11 21:08:26 +02:00
buildWithVScode.md Fix Link in buildWithVScode 2023-02-16 08:47:46 +02:00
coding-convention.md Simplify coding style (#1280) 2022-08-21 14:44:05 +03:00
ExternalResources.md branches: Update files to refer to main instead of develop 2023-03-02 09:45:47 +02:00
files-needed-by-factory.md files-needed-by-factory: Adjust headers 2023-02-13 11:03:14 +02:00
filesInReleaseNotes.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
gdb.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
InfiniTimeVision.md Edit all occurences of "watchface" to "watch face" 2022-10-10 12:43:11 +02:00
jlink.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
maintainer-guide.md doc: Add maintainer guide 2023-01-22 09:00:14 +02:00
MemoryAnalysis.md branches: Update files to refer to main instead of develop 2023-03-02 09:45:47 +02:00
MotionService.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
NavigationService.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
openOCD.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
PinetimeStubWithNrf52DK.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
SPI-LCD-driver.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
SWD.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
ui_guidelines.md Fix markdown format with autoformatter (#1284) 2022-08-21 14:50:09 +03:00
versioning.md branches: Update files to refer to main instead of develop 2023-03-02 09:45:47 +02:00