mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 19:49:16 +00:00
6 lines
174 B
Bash
Executable File
6 lines
174 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
TMPFILE=$(mktemp /tmp/databag-XXXXX)
|
|
ffmpeg -ss $3 -i $1 -y -vframes 1 -q:v 2 $TMPFILE.jpg
|
|
convert -strip $TMPFILE.jpg -auto-orient -resize '320x320>' $2
|