tree: c820a9ffa9e39cf2f81f9e88966367647ed641a4 [path history] [tgz]
  1. BUILD.bazel
  2. BUILD.gn
  3. heart_8x8.h
  4. heart_8x8.png
  5. hello_my_name_is65x42.h
  6. hello_my_name_is65x42.png
  7. kudzu_isometric_text_sprite.h
  8. kudzu_isometric_text_sprite.png
  9. kudzu_isometric_text_sprite.xcf
  10. main.cc
  11. name_tag.h
  12. name_tag.png
  13. pw_banner46x10.h
  14. pw_banner46x10.png
  15. pw_logo5x7.h
  16. pw_logo5x7.png
  17. README.md
applications/badge/README.md

How to update your name

  1. Edit name_tag.png with your name, save as a png.

  2. Run the following to update name_tag.h:

    cd applications/badge
    python -m pw_graphics.png2cc --output-mode rgb565 name_tag.png -W 152 -H 64
    

How to regenerate the sprite header files:

python -m pw_graphics.png2cc --output-mode rgb565 -W 54 -H 37 kudzu_isometric_text_sprite.png --transparent-color 255,0,255
python -m pw_graphics.png2cc --output-mode rgb565 -W 8 -H 8 heart_8x8.png
python -m pw_graphics.png2cc --output-mode rgb565 -W 5 -H 7 pw_logo5x7.png
python -m pw_graphics.png2cc --output-mode rgb565 -W 46 -H 10 pw_banner46x10.png
python -m pw_graphics.png2cc --output-mode rgb565 hello_my_name_is65x42.png -W 65 -H 42