8000 GitHub - jimmywong2003/PNG-to-RGB565: Python Script how to convert the PNG to RGB565 format
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jimmywong2003/PNG-to-RGB565

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNG-to-RGB565

Python Script how to convert the PNG to RGB565 format

Usage:

python png2rgb565.py <image_file> <output_include_file> <output_binary_file>

e.g. python png2rgb565.py data\NRF52840_DK_ILI9341.png NRF52840_DK.h NRF52840.bin

Default

The default byte order of RGB565 is targeted for the ILI9341 LCD display. Thus, the swap is enabled.

isSWAP = True

The script is same as the output file as

https://littlevgl.com/image-to-c-array (with swap, RGB565 SWAP)

About

Python Script how to convert the PNG to RGB565 format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0