tree: 121b86aea5990a01241e825ea04b13849f0eefdc [path history] [tgz]
  1. BUILD.gn
  2. heart_8x8.h
  3. heart_8x8.png
  4. hello_my_name_is65x42.h
  5. hello_my_name_is65x42.png
  6. kudzu_isometric_text_sprite.h
  7. kudzu_isometric_text_sprite.png
  8. kudzu_isometric_text_sprite.xcf
  9. main.cc
  10. name_tag.h
  11. name_tag.png
  12. pw_banner46x10.h
  13. pw_banner46x10.png
  14. pw_logo5x7.h
  15. pw_logo5x7.png
  16. 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