11 lines
260 B
Plaintext
11 lines
260 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
[ -z "$5" ] && echo "Usage: $0 <image> <x> <y> <max height> max width>" && exit
|
||
|
|
||
|
source "`ueberzug library`"
|
||
|
|
||
|
ImageLayer 0< <(
|
||
|
ImageLayer::add [identifier]="example0" [x]="$2" [y]="$3" [max_width]="$5" [max_height]="$4" [path]="$1"
|
||
|
read
|
||
|
)
|