convert_image-py.1 702 B

123456789101112131415161718192021222324
  1. .TH CONVERT_IMAGE.PY 1 "2024-08-30"
  2. .SH NAME
  3. convert_image.py \- convert an image for use with the SAF library
  4. .SH SYNOPSIS
  5. .B convert_image.py
  6. .RI [ -b ] [ -c ] " file"
  7. .br
  8. .SH DESCRIPTION
  9. The script takes as an input an image file, converts it into raw C
  10. representation that's to be embedded into the source code of a program using the
  11. SAF library. Supported image formats are those supported by the Python PIL
  12. library.
  13. .SH OPTIONS
  14. The following are possible flags that may be passed to the script.
  15. .TP
  16. .B \-b
  17. Output only 1bit image data.
  18. .TP
  19. .B \-c
  20. Output the data in compressed format.
  21. .SH SEE ALSO
  22. More detail can be found in the source code of the script and in the header of
  23. SAF library itself.