All Projects → akira-cn → Code To Image

akira-cn / Code To Image

Licence: mit
Convert blocks of code to a highlighted jpeg base64 image.

Programming Languages

javascript
184084 projects - #8 most used programming language
language
365 projects

Projects that are alternatives of or similar to Code To Image

snakefmt
The uncompromising Snakemake code formatter
Stars: ✭ 78 (-71.22%)
Mutual labels:  code
Photoeditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
Stars: ✭ 3,105 (+1045.76%)
Mutual labels:  canvas
Dynamic effect
平时练习的一些前端动效,基于HTML5,CSS3,Canvas,Svg
Stars: ✭ 264 (-2.58%)
Mutual labels:  canvas
Pancake
Lightweight, Fast, Easy-to-use HTML5 2D game framework!
Stars: ✭ 79 (-70.85%)
Mutual labels:  canvas
Simple Draw
A canvas you can draw on with different colors.
Stars: ✭ 256 (-5.54%)
Mutual labels:  canvas
Front Ui
😄 🎨 Collect some front-end special effects (收集一些前端特效)
Stars: ✭ 259 (-4.43%)
Mutual labels:  canvas
lowcode
React Lowcode - prototype, develop and maintain internal apps easier
Stars: ✭ 32 (-88.19%)
Mutual labels:  code
Canvas Designer
Collaborative, extendable, JavaScript Canvas2D drawing tool, supports dozens of builtin tools, as well as generates JavaScript code for 2D animations.
Stars: ✭ 268 (-1.11%)
Mutual labels:  canvas
Isomer
Isomer is an easy-to-use graphics library for drawing isometric scenes.
Stars: ✭ 2,767 (+921.03%)
Mutual labels:  canvas
Earthbound Battle Backgrounds Js
A JavaScript project that generates all the Earthbound/Mother 2 backgrounds.
Stars: ✭ 258 (-4.8%)
Mutual labels:  canvas
jqCandlestick
jQuery plugin for creating line, bar and candlestick charts.
Stars: ✭ 13 (-95.2%)
Mutual labels:  canvas
laravel-markdown
A highly configurable markdown renderer and Blade component for Laravel
Stars: ✭ 159 (-41.33%)
Mutual labels:  code
Flutter Canvas
About using of canvas in the flutter
Stars: ✭ 259 (-4.43%)
Mutual labels:  canvas
audio-oscilloscope
Audio oscilloscope in canvas.
Stars: ✭ 28 (-89.67%)
Mutual labels:  canvas
Sessions
A series of creative coding sessions
Stars: ✭ 262 (-3.32%)
Mutual labels:  canvas
Spotify-Cards-API
🚀 Unofficial Spotify PromoCards API
Stars: ✭ 13 (-95.2%)
Mutual labels:  canvas
Canvg
Javascript SVG parser and renderer on Canvas
Stars: ✭ 2,963 (+993.36%)
Mutual labels:  canvas
Vue Code Diff
vue文件差异对比
Stars: ✭ 271 (+0%)
Mutual labels:  code
Smartchart
一款android 图表框架,支持图表N配置,支持缩放,旋转手势。
Stars: ✭ 266 (-1.85%)
Mutual labels:  canvas
Zimjs
ZIM JavaScript Canvas Framework - Code Creativity! Interactive Media For All.
Stars: ✭ 259 (-4.43%)
Mutual labels:  canvas

Code to Image

Code to Image converts your blocks of code to a highlighted jpeg base64 image. And you can share it to any code-unfriendly website —— Such website doesn't support markdown or <pre><code> tag or anything else that can make your post contains any blocks of code in it.

It is much better than screen shot since you can pick a single image from very large code files. More than 40 programming languages can be highlighted and picked.

Example

http://code2img.75team.com

Paste blocks of code to textarea and press Ctrl+D to pick image.

Installation

git clone https://github.com/akira-cn/code-to-image.git
cd code-to-image
npm install

Development

npm start

Compile & Release

npm run compile

Default languages

Default languages included bash; C; C++; C#; HTML; Java; JavaScript; XML; Perl; Python; Ruby; PHP;

Extensions

Other languages are supported via extensions:

Apollo; Basic; Clojure; CSS; Dart; Erlang; Go; Haskell; Lasso; Lisp, Scheme; Llvm; Logtalk; Lua; Matlab; MLs: F#, Ocaml,SML; Mumps; Nemerle; Pascal; Protocol buffers; R, S; RD; Rust; Scala; SQL; Swift; TCL; Latek; Visual Basic; VHDL; Wiki; XQ; YAML

Thanks

Thanks to code-prettify and html2canvas.

License (Multi-licensing)

Apache License 2.0 LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].