Skip to content

Instantly share code, notes, and snippets.

@getflourish
Created November 25, 2017 17:16
Show Gist options
  • Save getflourish/69e9dcef3e8cf3de04e7ada908ec3af7 to your computer and use it in GitHub Desktop.
Save getflourish/69e9dcef3e8cf3de04e7ada908ec3af7 to your computer and use it in GitHub Desktop.
Config for imagetracerjs, optimized for tracing pen drawings on paper
config: {
ltres: 1,
qtres: 1,
pathomit: 20,
rightangleenhance: true,
colorsampling: 0,
numberofcolors: 3,
mincolorratio: 0,
colorquantcycles: 3,
blurradius: 3,
blurdelta: 20,
strokewidth: 0,
linefilter: false,
scale: 1,
roundcoords: 1,
viewbox: true,
desc: false,
lcpr: 0,
qcpr: 0,
pal: [
{
"r": 0,
"g": 0,
"b": 100,
"a": 255
},
{
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment