mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 22:30:51 +00:00
10 lines
278 B
Bash
Executable File
10 lines
278 B
Bash
Executable File
#!/bin/sh -
|
|
|
|
[[ -z $1 ]] && echo "Missing filename to convert" && exit 1
|
|
|
|
file=$1
|
|
gif="${file%.*}.gif"
|
|
#gifski --fps 10 -Q 70 -H 2000 --repeat 0 -o "$gif" "$file"
|
|
gifski --fps 8 -Q 70 -H 2000 --repeat 0 -o "$gif" "$file"
|
|
notify-send -a 'Convert to .gif' "Convertion done: $gif"
|