Skip to content

Commit 915b97e

Browse files
committed
...
1 parent 4b09ba4 commit 915b97e

File tree

5 files changed

+37
-0
lines changed

5 files changed

+37
-0
lines changed

drawio/drawio_to_jpg.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
4+
5+
if [[ -f $1 ]]; then
6+
/Applications/draw.io.app/Contents/MacOS/draw.io --export --output $1.jpg $1
7+
fi
8+

drawio/drawio_to_pdf.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
4+
5+
if [[ -f $1 ]]; then
6+
/Applications/draw.io.app/Contents/MacOS/draw.io --export --output $1.pdf $1
7+
fi
8+

drawio/drawio_to_png.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
4+
5+
if [[ -f $1 ]]; then
6+
/Applications/draw.io.app/Contents/MacOS/draw.io --export --output $1.png $1
7+
fi
8+

drawio/dto

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
4+
5+
if [[ -f $1 ]]; then
6+
/Applications/draw.io.app/Contents/MacOS/draw.io --export --output $1.$2 $1
7+
fi
8+

ffmpeg/jpgvideo.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
R=1
4+
PAT="front-%d.jpg"
5+
ffmpeg -r $R -i $PAT -y out.mp4

0 commit comments

Comments
 (0)