feat: first commit

This commit is contained in:
root 2024-05-16 22:26:22 +02:00
commit 1ed8f7faa1
17 changed files with 89275 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
pdf/

BIN
Arduino-comic-fr.pdf Normal file

Binary file not shown.

25
pdf.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
# Requires imagemagick and poppler-utils
# Configuration required to /etc/Image-magick-N/policy.xml
# add: <policy domain="coder" rights="read | write" pattern="PDF" />
APP_PATH=$( cd $(dirname $0) && pwd)
PDF_FILENAME="Arduino-comic-fr.pdf"
set -eou --pipefail
cd "$APP_PATH"
for f in $(cd svg && ls *svg); do
echo "Converting file $f..."
convert -density 200 svg/$f pdf/${f/svg/pdf}
done
echo "Consolidating PDF files..."
pdfunite pdf/* "$PDF_FILENAME"
echo "Successfully updated $PDF_FILENAME"

3987
svg/01.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 219 KiB

9520
svg/02.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 531 KiB

2127
svg/03.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 162 KiB

1594
svg/04.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 132 KiB

1984
svg/05.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 132 KiB

12183
svg/06.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 785 KiB

4380
svg/07.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 416 KiB

3355
svg/08.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 314 KiB

13993
svg/09.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.1 MiB

7553
svg/10.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 411 KiB

7305
svg/11.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 375 KiB

8358
svg/13.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 487 KiB

9838
svg/14.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 550 KiB

3072
svg/15.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 179 KiB