Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chitra Lua plugin and CLI

Build the CLI

dub build :chitra-cli

Usage:

Execute the Chitra code from a Lua file

-- sample.lua file
size(400)
save("hello.png", {resolution=72})
./chitra -f sample.lua

OR execute the code directly

./chitra -c 'size(400); save("hello.png", {resolution=72})'

Verify the generated file

file hello.png
hello.png: PNG image data, 400 x 400, 8-bit/color RGBA, non-interlaced

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages