aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/render.sh
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
commit6b4eac36d6ff46881b26a36556a07280ccd69783 (patch)
tree9423a3bef66d5351ad38a63893b29111cdb04e17 /gerboweb/deploy/render.sh
parent23d392c2f7a744d38a369f8bc91cfd0f215f82b0 (diff)
downloadgerbolyze-6b4eac36d6ff46881b26a36556a07280ccd69783.tar.gz
gerbolyze-6b4eac36d6ff46881b26a36556a07280ccd69783.tar.bz2
gerbolyze-6b4eac36d6ff46881b26a36556a07280ccd69783.zip
gerboweb: Initial design revision
Diffstat (limited to 'gerboweb/deploy/render.sh')
-rwxr-xr-xgerboweb/deploy/render.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerboweb/deploy/render.sh b/gerboweb/deploy/render.sh
index c3920de..eefe7f0 100755
--- a/gerboweb/deploy/render.sh
+++ b/gerboweb/deploy/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"