mirror of
https://github.com/He4eT/cantor-mx-tastatura.git
synced 2026-05-04 17:37:24 +00:00
Add layers
This commit is contained in:
parent
88ca7c7c0c
commit
97239bd728
5 changed files with 20 additions and 0 deletions
20
images/layers/add_border.sh
Executable file
20
images/layers/add_border.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
# GIMP commands for the screenshot preparation:
|
||||
# - Layer > Crop to Content [Alt + L, O, O, Enter]
|
||||
# - Image > Fit Canvas to Layers [Alt + I, A]
|
||||
|
||||
filename="$1"
|
||||
bordercolor="#424242"
|
||||
bordersize=16
|
||||
|
||||
if [ ! -f "$filename" ]; then
|
||||
echo "Error: File not found: $filename"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
convert \
|
||||
"$filename" \
|
||||
-bordercolor "$bordercolor" \
|
||||
-border "${bordersize}x${bordersize}" \
|
||||
"$filename"
|
||||
BIN
images/layers/layer_0.png
Normal file
BIN
images/layers/layer_0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
BIN
images/layers/layer_1.png
Normal file
BIN
images/layers/layer_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
images/layers/layer_2.png
Normal file
BIN
images/layers/layer_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
images/layers/layer_3.png
Normal file
BIN
images/layers/layer_3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Loading…
Add table
Add a link
Reference in a new issue