| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
CodeImageGenerator is a Python script, which converts Java or Python files/functions to images. This includes a rough custom syntax highlighting with Pygments.
I personally use this to convert short code snippets for empirical research on program comprehension (see Brains on Code). This means the script is very personalized to my usage, and probably not directly useful to you without changes.
The main feature is to read all files from a directory, attempting to add syntax highlighting, and finally creating matching images.
Implemented so far:
Things I may add in the future:
The text is generated with the Inconsolata font. The font licence is here: Inconsolata licence.
The project should run in any Python environment. It was developed and tested with PyCharms.
Do you want to fix my horrible Python code? Feel free to create a pull request :)
Thank you!
MIT License Copyright (c) 2018 Norman Peitek
| Back | FazBrowse Home | New Git URL |