render_sheet 416 B

12345678910111213141516171819
  1. #!/usr/bin/env python3
  2. import os
  3. import sys
  4. sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../src")))
  5. from fenrispunk_tools.business.sheets import render_sheet
  6. if __name__ == "__main__":
  7. render_sheet(
  8. outfile="var/sheet.png",
  9. path_to_sheet_ascii="sheet_ascii.txt",
  10. sprite_length=8,
  11. pallet="",
  12. greyscale=False,
  13. compression=0,
  14. )