by  peitek Python Version: Current License: MIT
 by  peitek Python Version: Current License: MIT
Support
Quality
Security
License
Reuse
kandi has reviewed CodeImageGenerator and discovered the below as its top functions. This is intended to give you an instant insight into CodeImageGenerator implemented functionality, and help decide if they suit your requirements.
Reads all files from a directory, and parses one at a time
Extracts just the function code from the file (and ignores the class, comments, etc around it)
Uses Pygments to create syntax highlighting for the code
Parses Pygments syntax highlighting to fit on the image
Dynamically reduces font size if the code doesn't fit the screen
Option to either strip boilerplate code and reduce to single method (or use full file)
Rough support for Java and Python functions
Rough image creation
No vulnerabilities reported
Save this library and start creating your kit