README 923 B

123456789101112131415161718192021222324252627282930
  1. 1. Prepare the image
  2. a. Open your *black and white* image in GIMP
  3. b. File -> Export As
  4. filename: EXAMPLE.c
  5. Type : "C source code"
  6. [Export]
  7. prefixed name: gimp_image
  8. Comment : <any>
  9. [x] Use GLib types
  10. [ ] <<all other options>>
  11. Opacity : 100%
  12. [Export]
  13. 2. Prepare conversion tool [stored in (eg.) /path/]
  14. a. cp _convert*.* /path/
  15. b. cp EXAMPLE.c /path/
  16. 3. Run the conversion tool
  17. a. cd /path/
  18. b. ./_convert.sh EXAMPLE.c
  19. 4. All being well, you will see an ascii version of your image.
  20. If not, then you're gonna have to submit a bug report <shrug>
  21. 5. You should now have a directory called img_/
  22. In that directory should be
  23. img_EXAMPLE.c - The data for your new image
  24. img_*.c - The data for other images
  25. images.h - A header for ALL images that have been created in this directory
  26. images.c - A sample FlipperZero show() function [not optimised]