Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _doc/documentation.dox
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,15 @@ Designed by TFT : Terraneo Federico Technologies
Options:
--help Prints this.
--in arg Input png file (required)
--depth arg Color depth, 1,8,16,18 or 24 bits (required)
--format arg Pixel format, gray1,gray4,RGB332,RGB565 (required)
--out arg Output png file for validation
--binary Generate a binary file instead of a .cpp/.h file
\endcode

To use it, assume you have an image called test.png that needs to be embedded
into a firmware at a 16 bit per pixel color depth, the command line to do so is
into a firmware with RGB565 pixel format, the command line to do so is
\code
./pngconverter --in test.png --depth 16
./pngconverter --in test.png --format rgb565
\endcode
As a result, the program will produce, in the same directory where the test.png
file is, two files: test.cpp and test.h
Expand Down
Loading