Add inkscape directory
18
figs/inkscape/convert_svg.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Directory containing SVG files
|
||||
INPUT_DIR="."
|
||||
|
||||
# Loop through all SVG files in the directory
|
||||
for svg_file in "$INPUT_DIR"/*.svg; do
|
||||
# Check if there are SVG files in the directory
|
||||
if [ -f "$svg_file" ]; then
|
||||
# Output PDF file name
|
||||
pdf_file="../${svg_file%.svg}.pdf"
|
||||
png_file="../${svg_file%.svg}"
|
||||
|
||||
# Convert SVG to PDF using Inkscape
|
||||
inkscape "$svg_file" --export-filename="$pdf_file" && \
|
||||
pdftocairo -png -singlefile -cropbox "$pdf_file" "$png_file"
|
||||
fi
|
||||
done
|
4457
figs/inkscape/rotating_bode_plot_direct.svg
Normal file
After Width: | Height: | Size: 338 KiB |
2212
figs/inkscape/rotating_comp_techniques_root_locus.svg
Normal file
After Width: | Height: | Size: 241 KiB |
638
figs/inkscape/rotating_comp_techniques_root_locus_zoom.svg
Normal file
After Width: | Height: | Size: 103 KiB |
1869
figs/inkscape/rotating_iff_kp_root_locus.svg
Normal file
After Width: | Height: | Size: 229 KiB |
1598
figs/inkscape/rotating_iff_kp_root_locus_effect_kp.svg
Normal file
After Width: | Height: | Size: 162 KiB |
2337
figs/inkscape/rotating_iff_root_locus_hpf_large.svg
Normal file
After Width: | Height: | Size: 321 KiB |
345
figs/inkscape/rotating_nass_model.svg
Normal file
After Width: | Height: | Size: 29 KiB |
2693
figs/inkscape/rotating_overview.svg
Normal file
After Width: | Height: | Size: 265 KiB |
1377
figs/inkscape/rotating_rdc_root_locus.svg
Normal file
After Width: | Height: | Size: 118 KiB |
2491
figs/inkscape/rotating_root_locus_iff_modified_effect_wi.svg
Normal file
After Width: | Height: | Size: 435 KiB |
1528
figs/inkscape/rotating_root_locus_iff_pure_int.svg
Normal file
After Width: | Height: | Size: 194 KiB |