aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-03-30 04:01:03 +0900
committerjaseg <git@jaseg.net>2019-03-30 04:01:03 +0900
commitdb8d9830a9d06f725214e61167ca2e3cfa14ac02 (patch)
treeb388a89678a8b16520afb6f7ec6fb282b89776dc
parentbf744eab9749ff9710d68f35a44821ef80d5c291 (diff)
downloadinfra-db8d9830a9d06f725214e61167ca2e3cfa14ac02.tar.gz
infra-db8d9830a9d06f725214e61167ca2e3cfa14ac02.tar.bz2
infra-db8d9830a9d06f725214e61167ca2e3cfa14ac02.zip
gerboweb: Initial design revision
-rwxr-xr-xrender.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/render.sh b/render.sh
index c3920de..eefe7f0 100755
--- a/render.sh
+++ b/render.sh
@@ -13,8 +13,8 @@ rm -f /mnt/render_top.png /mnt/render_bottom.png /mnt/render_top.small.png /mnt/
date; echo 'Rendering bottom layer'
gerbolyze render top /tmp/gerber /mnt/render_top.png
date; echo 'Scaling down'
-convert /mnt/render_top.png -resize 500x500 /mnt/render_top.small.png
+convert /mnt/render_top.png -resize 500x500 -negate -brightness-contrast 30x30 -colorspace gray /mnt/render_top.small.png
date; echo 'Rendering top layer'
gerbolyze render bottom /tmp/gerber /mnt/render_bottom.png
date; echo 'Scaling down'
-convert /mnt/render_bottom.png -resize 500x500 /mnt/render_bottom.small.png"
+convert /mnt/render_bottom.png -resize 500x500 -negate -brightness-contrast 30x30 -colorspace gray /mnt/render_bottom.small.png"