Skip to content
Snippets Groups Projects
Unverified Commit 8e763d02 authored by Kerautret Bertrand's avatar Kerautret Bertrand :thinking:
Browse files

Demo: fix script bg

parent b4851d43
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,11 @@ OUT_FILE_BASENAME=$4
convert +contrast +contrast +contrast +contrast +contrast -modulate 160,100,100 -type grayscale -depth 8 ${BG_IMAGE} inputBG.png
displayLineSegments -i ${LINE_FILE} --customLineColor 50 50 250 --backgroundImage ${BG_IMAGE} -o ${OUT_FILE_BASENAME}.fig -s ${INPUT_LINESEED} --customLineColorSec 250 50 50 --customPointColor 50 250 50 --lineWidth 2 --lineWidthSec 2 --noDisplayEndPoints
displayLineSegments -i ${LINE_FILE} --customLineColor 50 50 250 --backgroundImage inputBG.png -o ${OUT_FILE_BASENAME}.fig -s ${INPUT_LINESEED} --customLineColorSec 250 50 50 --customPointColor 50 250 50 --lineWidth 2 --lineWidthSec 2 --noDisplayEndPoints
fig2dev -L eps ${OUT_FILE_BASENAME}.fig ${OUT_FILE_BASENAME}.eps
convert -background \#FFFFFF -flatten ${OUT_FILE_BASENAME}.eps -geometry 512x ${OUT_FILE_BASENAME}.png
displaySet2dPts -i segmentsPoints.dat -o ${OUT_FILE_BASENAME}Pts.fig --backgroundImage ${BG_IMAGE}
displaySet2dPts -i segmentsPoints.dat -o ${OUT_FILE_BASENAME}Pts.fig --backgroundImage inputBG.png
fig2dev -L eps ${OUT_FILE_BASENAME}Pts.fig ${OUT_FILE_BASENAME}Pts.eps
convert -background \#FFFFFF -flatten ${OUT_FILE_BASENAME}Pts.eps -geometry 512x ${OUT_FILE_BASENAME}Pts.png
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment