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

Demo: fix script bg

parent fec20bac
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,11 @@ export LD_LIBRARY_PATH
BG_IMAGE=$1
LINE_FILE=$2
OUT_FILE_BASENAME=$3
displayLineSegments -i ${LINE_FILE} -o ${OUT_FILE_BASENAME}.fig --backgroundImage ${BG_IMAGE}
convert +contrast +contrast +contrast +contrast +contrast -modulate 160,100,100 -type grayscale -depth 8 ${BG_IMAGE} inputBG.png
displayLineSegments -i ${LINE_FILE} -o ${OUT_FILE_BASENAME}.fig --backgroundImage inputBG.png
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