Changeset - 535e8a08b240
[Not reviewed]
default
0 0 3
Dennis Fink - 7 years ago 2018-04-29 21:04:12
dennis.fink@c3l.lu
Added svg2png.sh svg2pdf.sh svg2plainsvg.sh
3 files changed with 18 insertions and 0 deletions:
0 comments (0 inline, 0 general)
svg2pdf.sh
Show inline comments
 
new file 100755
 
#!/bin/bash
 

	
 
for i in $(find SVG -type f -not -name "Laurel_Wreath.svg"); do
 
    new_pdf_filename=$(echo $i | sed 's/svg/pdf/g' | sed 's/SVG/PDF/g')
 
    inkscape -f "$i" -A "$new_pdf_filename" -T --export-pdf-version=1.5 -C -d 1200
 
done
svg2plainsvg.sh
Show inline comments
 
new file 100755
 
#!/bin/bash
 

	
 
for i in $(find SVG -type f -not -name "Laurel_Wreath.svg"); do
 
    new_filename=$(echo $i | sed 's/SVG/PLAIN_SVG/g')
 
    inkscape -f "$i" --export-plain-svg="$new_filename" -T
 
done
svg2png.sh
Show inline comments
 
new file 100755
 
#!/bin/bash
 

	
 
for i in $(find SVG -type f -not -name "Laurel_Wreath.svg"); do
 
    new_filename=$(echo $i | sed 's/svg/png/g' | sed 's/SVG/PNG/g')
 
    inkscape -f "$i" -e "$new_filename" -C -d 1200
 
done
0 comments (0 inline, 0 general)