Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ideas to simplify templates #35

Open
homeworkprod opened this issue Jun 5, 2016 · 0 comments
Open

Ideas to simplify templates #35

homeworkprod opened this issue Jun 5, 2016 · 0 comments

Comments

@homeworkprod
Copy link
Collaborator

I have a few suggestions regarding templates:

  • Move bundled templates out of the source code. They could be included from a resource file/folder, which should also work from inside a package (WRT pip packaging #31).
  • Only one template per file. Each template's name is derived from its filename by removing the file extension (or using no file extensions at all). No need to parse the name from its content.
  • Simplify image serialization. Get rid of JSON, square brackets, commas. Only one byte per "pixel", newslines as row delimiters, and no other whitespace. Numbers 0-4 as well as the ASCII representation work with that. Would greatly simplify parsing as well as template creation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant