feat: simplified script

This commit is contained in:
AngeD 2022-07-21 19:44:47 +02:00
parent 15101f2f90
commit c2fc0f6955

View File

@ -14,5 +14,4 @@ DEVICE='pixma:04A9178A_31A16C'
FORMAT='png'
RES=300
scanimage -d "$DEVICE" --format="$FORMAT" --resolution "$RES" > "$1"
convert "$1" "$1"
scanimage -d "$DEVICE" --format="$FORMAT" --resolution "$RES" | convert - "$1"