silicon
Create an image of source code. tldr-pages
On several platforms
Several platforms
Generate an image from a specific source file
silicon path/to/source_file --output path/to/output_imageIdentifyGenerate an image from a source file with a specific programming language syntax highlighting (e.g. rust, py, js, etc.)
silicon path/to/source_file --output path/to/output_image --language languageIdentifyDo not generate window decorations in the image
silicon path/to/source_file --output path/to/output_image --no-window-controlsIdentifyGenerate an image from stdin
command | silicon --output path/to/output_imageIdentifyDisplay help
silicon --helpIdentify