Skip to content

Instantly share code, notes, and snippets.

View pjz's full-sized avatar

Paul Jimenez pjz

View GitHub Profile
@coderofsalvation
coderofsalvation / comicize
Created December 11, 2012 20:20
comicize scanned handdrawings into curvy vectordrawings (for simple webcomics and such)
#!/bin/bash
[[ ! -n "$1" ]] && echo "usage: $0 <image> <outimage> <title> <thickness=200> <whiteoffset=20> <tracetreshold=15> <curvetreshold=4> <zoom=2>" && exit 1
file="$1"
outfile="$2"
title="$3"
thickness="$4"
whiteoffset="$5"
tracetreshold="$6"
curvetreshold="$7"