Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/8dcc/c2png
Convert C source code to a PNG image
https://github.com/8dcc/c2png
libpng source-to-image syntax-highlighting
Last synced: about 2 months ago
JSON representation
Convert C source code to a PNG image
- Host: GitHub
- URL: https://github.com/8dcc/c2png
- Owner: 8dcc
- License: gpl-3.0
- Created: 2023-11-09T20:27:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-03T15:03:09.000Z (11 months ago)
- Last Synced: 2024-04-18T17:08:54.096Z (9 months ago)
- Topics: libpng, source-to-image, syntax-highlighting
- Language: C
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: c2png
#+options: toc:nil
#+startup: showeverything
#+author: 8dcc*Convert C source code to a PNG image.*
#+TOC: headlines 2
* Building
#+begin_src console
$ git clone https://github.com/8dcc/c2png
$ cd c2png
$ make
...
#+end_src* Usage
#+begin_src console
$ ./c2png
...
#+end_src* Credits
Font:
- [[https://github.com/slavfox/Cozette][slavfox/Cozette]]
- [[https://sourceforge.net/projects/bdf2c/][bdf2c]] ([[https://github.com/pixelmatix/bdf2c][GitHub fork]])Syntax highlighting:
- [[https://github.com/Theldus/kat][Theldus/kat]]* Output
This is the output of converting the =src/main.c= file itself.
[[https://user-images.githubusercontent.com/29655971/282262399-2adb57f4-1580-4727-8ceb-c08302fa68e9.png]]