Compare commits
No commits in common. "master" and "merged" have entirely different histories.
@ -1,18 +0,0 @@
|
|||||||
#!/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
|
|
Before Width: | Height: | Size: 251 KiB After Width: | Height: | Size: 251 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 4.1 MiB |
Before Width: | Height: | Size: 4.5 MiB After Width: | Height: | Size: 4.5 MiB |
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.2 MiB |
Before Width: | Height: | Size: 5.1 MiB After Width: | Height: | Size: 5.1 MiB |
Before Width: | Height: | Size: 5.3 MiB After Width: | Height: | Size: 5.3 MiB |