Changeset - b027cef6f66e
[Not reviewed]
default
0 1 0
Dennis Fink - 3 years ago 2021-08-11 22:49:49
dennis.fink@c3l.lu
Update convert.sh
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
convert.sh
Show inline comments
 
@@ -8,7 +8,11 @@ for i in $(find $1/SVG -type f -not -nam
 
    
 
    if [[ "$1" =~ "entr0py" ]]; then
 
        mkdir -p $(dirname ${new_png_filename})
 
        inkscape --export-type=png --export-filename="$new_png_filename" --export-area-page --export-width=1920 --export-height=1080 "$i"
 
        if [[ "$1" =~ "Logo" ]]; then
 
            inkscape --export-type=png --export-filename="$new_png_filename" --export-area-page --export-width=1400 --export-height=1400 "$i"
 
        else
 
            inkscape --export-type=png --export-filename="$new_png_filename" --export-area-page --export-width=1920 --export-height=1080 "$i"
 
        fi
 
    elif [[ "$1" =~ "Videos" ]]; then
 
        mkdir -p $(dirname ${new_png_filename})
 
        inkscape --export-type=png --export-filename="$new_png_filename" --export-area-page --export-width=1920 --export-height=1080 "$i"
0 comments (0 inline, 0 general)