-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from UoMResearchIT/screenshots
Screenshots
- Loading branch information
Showing
276 changed files
with
138 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/bash | ||
# Crops images in the directory from which this script is called | ||
|
||
# To replace spaces with _ and delete parentheses from filenames: | ||
# for file in *; do [ -f "$file" ] && mv "$file" "$(echo "$file" | tr ' ' '_' | tr -d '()')"; done | ||
|
||
# Default crop values | ||
DEFAULT_WIDTH=1400 | ||
DEFAULT_HEIGHT=888 | ||
DEFAULT_X=315 | ||
DEFAULT_Y=115 | ||
|
||
# Output directory | ||
DEFAULT_OUTPUT_DIR="cropped" | ||
|
||
|
||
# Function to display usage | ||
usage() { | ||
echo "Usage: $0 [-w width] [-h height] [-x x_offset] [-y y_offset]" | ||
echo " -w width Width of the crop area (default: $DEFAULT_WIDTH)" | ||
echo " -h height Height of the crop area (default: $DEFAULT_HEIGHT)" | ||
echo " -x x_offset X offset of the crop area (default: $DEFAULT_X)" | ||
echo " -y y_offset Y offset of the crop area (default: $DEFAULT_Y)" | ||
echo " -o output_dir Output directory (default: $DEFAULT_OUTPUT_DIR)" | ||
exit 1 | ||
} | ||
|
||
# Parse command-line arguments | ||
while getopts "w:h:x:y:o" opt; do | ||
case $opt in | ||
w) WIDTH=$OPTARG ;; | ||
h) HEIGHT=$OPTARG ;; | ||
x) X_OFFSET=$OPTARG ;; | ||
y) Y_OFFSET=$OPTARG ;; | ||
o) OUTPUT_DIR=$OPTARG ;; | ||
*) usage ;; | ||
esac | ||
done | ||
|
||
# Set default values if not provided | ||
WIDTH=${WIDTH:-$DEFAULT_WIDTH} | ||
HEIGHT=${HEIGHT:-$DEFAULT_HEIGHT} | ||
X_OFFSET=${X_OFFSET:-$DEFAULT_X} | ||
Y_OFFSET=${Y_OFFSET:-$DEFAULT_Y} | ||
OUTPUT_DIR=${OUTPUT_DIR:-$DEFAULT_OUTPUT_DIR} | ||
|
||
# Create output directory if it doesn't exist | ||
mkdir -p "$OUTPUT_DIR" | ||
|
||
# Crop all images in the current directory | ||
for img in *.{jpg,jpeg,png,gif}; do | ||
if [ -f "$img" ]; then | ||
convert "$img" -crop "${WIDTH}x${HEIGHT}+${X_OFFSET}+${Y_OFFSET}" "$OUTPUT_DIR/$img" | ||
echo "Cropped $img..." | ||
fi | ||
done | ||
|
||
echo "All images have been cropped and saved to $OUTPUT_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
|
||
# Default delay between frames (in centiseconds, 1s = 100cs) | ||
DEFAULT_DELAY=100 | ||
|
||
# Function to display usage | ||
usage() { | ||
echo "Usage: $0 [-d delay] [-i input_folder] [-o output_file]" | ||
echo " -d delay Delay between frames in centiseconds (default: $DEFAULT_DELAY)" | ||
echo " -i input_folder Folder containing images to create GIF from" | ||
echo " -o output_file Output GIF file" | ||
exit 1 | ||
} | ||
|
||
# Parse command-line arguments | ||
while getopts "d:i:o:" opt; do | ||
case $opt in | ||
d) DELAY=$OPTARG ;; | ||
i) INPUT_FOLDER=$OPTARG ;; | ||
o) OUTPUT_FILE=$OPTARG ;; | ||
*) usage ;; | ||
esac | ||
done | ||
|
||
# Set default values if not provided | ||
DELAY=${DELAY:-$DEFAULT_DELAY} | ||
|
||
# Function to create GIF from images in a folder | ||
create_gif() { | ||
local folder=$1 | ||
local output=$2 | ||
local delay=$3 | ||
|
||
echo "Creating GIF from images in folder '$folder' with delay $delay centiseconds..." | ||
convert -delay $delay -loop 0 "$folder"/*.png "$output" | ||
echo "GIF saved to '$output'" | ||
} | ||
|
||
# If input folder and output file are provided, create a single GIF | ||
if [[ -n "$INPUT_FOLDER" && -n "$OUTPUT_FILE" ]]; then | ||
create_gif "$INPUT_FOLDER" "$OUTPUT_FILE" "$DELAY" | ||
else | ||
# Create GIFs for each folder in the current directory | ||
for folder in */; do | ||
folder_name=$(basename "$folder") | ||
output_file="${folder_name%/}.gif" | ||
create_gif "$folder" "$output_file" "$DELAY" | ||
done | ||
fi |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+136 KB
...ker-desktop/cropped_screenshots/gifs/delete_all_containers/DockerDesktop_76.png
Oops, something went wrong.
Binary file added
BIN
+137 KB
...ker-desktop/cropped_screenshots/gifs/delete_all_containers/DockerDesktop_77.png
Oops, something went wrong.
Binary file added
BIN
+130 KB
...ker-desktop/cropped_screenshots/gifs/delete_all_containers/DockerDesktop_78.png
Oops, something went wrong.
Binary file added
BIN
+93.9 KB
...ker-desktop/cropped_screenshots/gifs/delete_all_containers/DockerDesktop_79.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/hello_re-ran/DockerDesktop_19.png
Oops, something went wrong.
Binary file added
BIN
+111 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/hello_re-ran/DockerDesktop_20.png
Oops, something went wrong.
Binary file added
BIN
+113 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/hello_re-ran/DockerDesktop_21.png
Oops, something went wrong.
Binary file added
BIN
+76.5 KB
...es/fig/docker-desktop/cropped_screenshots/gifs/hello_start/DockerDesktop_17.png
Oops, something went wrong.
Binary file added
BIN
+139 KB
...es/fig/docker-desktop/cropped_screenshots/gifs/hello_start/DockerDesktop_18.png
Oops, something went wrong.
Binary file added
BIN
+117 KB
...docker-desktop/cropped_screenshots/gifs/image_inspect_spuc/DockerDesktop_06.png
Oops, something went wrong.
Binary file added
BIN
+166 KB
...docker-desktop/cropped_screenshots/gifs/image_inspect_spuc/DockerDesktop_07.png
Oops, something went wrong.
Binary file added
BIN
+189 KB
...docker-desktop/cropped_screenshots/gifs/image_inspect_spuc/DockerDesktop_08.png
Oops, something went wrong.
Binary file added
BIN
+120 KB
...ocker-desktop/cropped_screenshots/gifs/images_delete_hello/DockerDesktop_80.png
Oops, something went wrong.
Binary file added
BIN
+117 KB
...ocker-desktop/cropped_screenshots/gifs/images_delete_hello/DockerDesktop_81.png
Oops, something went wrong.
Binary file added
BIN
+110 KB
...ocker-desktop/cropped_screenshots/gifs/images_delete_hello/DockerDesktop_82.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...desktop/cropped_screenshots/gifs/images_delete_in_use_fail/DockerDesktop_73.png
Oops, something went wrong.
Binary file added
BIN
+117 KB
...desktop/cropped_screenshots/gifs/images_delete_in_use_fail/DockerDesktop_74.png
Oops, something went wrong.
Binary file added
BIN
+120 KB
...desktop/cropped_screenshots/gifs/images_delete_in_use_fail/DockerDesktop_75.png
Oops, something went wrong.
Binary file added
BIN
+115 KB
...er-desktop/cropped_screenshots/gifs/run_spuc_name_conflict/DockerDesktop_65.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...er-desktop/cropped_screenshots/gifs/run_spuc_name_conflict/DockerDesktop_66.png
Oops, something went wrong.
Binary file added
BIN
+127 KB
...er-desktop/cropped_screenshots/gifs/run_spuc_name_conflict/DockerDesktop_67.png
Oops, something went wrong.
Binary file added
BIN
+126 KB
...er-desktop/cropped_screenshots/gifs/run_spuc_name_conflict/DockerDesktop_68.png
Oops, something went wrong.
Binary file added
BIN
+126 KB
...er-desktop/cropped_screenshots/gifs/run_spuc_name_conflict/DockerDesktop_69.png
Oops, something went wrong.
Binary file added
BIN
+136 KB
...er-desktop/cropped_screenshots/gifs/run_spuc_name_conflict/DockerDesktop_70.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...fig/docker-desktop/cropped_screenshots/gifs/run_spuc_named/DockerDesktop_62.png
Oops, something went wrong.
Binary file added
BIN
+126 KB
...fig/docker-desktop/cropped_screenshots/gifs/run_spuc_named/DockerDesktop_63.png
Oops, something went wrong.
Binary file added
BIN
+114 KB
...fig/docker-desktop/cropped_screenshots/gifs/run_spuc_named/DockerDesktop_64.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/run_spuc_opt/DockerDesktop_24.png
Oops, something went wrong.
Binary file added
BIN
+112 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/run_spuc_opt/DockerDesktop_25.png
Oops, something went wrong.
Binary file added
BIN
+126 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/run_spuc_opt/DockerDesktop_26.png
Oops, something went wrong.
Binary file added
BIN
+97.9 KB
...cker-desktop/cropped_screenshots/gifs/search_and_pull_spuc/DockerDesktop_00.png
Oops, something went wrong.
Binary file added
BIN
+112 KB
...cker-desktop/cropped_screenshots/gifs/search_and_pull_spuc/DockerDesktop_01.png
Oops, something went wrong.
Binary file added
BIN
+145 KB
...cker-desktop/cropped_screenshots/gifs/search_and_pull_spuc/DockerDesktop_03.png
Oops, something went wrong.
Binary file added
BIN
+141 KB
...cker-desktop/cropped_screenshots/gifs/search_and_pull_spuc/DockerDesktop_04.png
Oops, something went wrong.
Binary file added
BIN
+154 KB
...cker-desktop/cropped_screenshots/gifs/search_and_pull_spuc/DockerDesktop_05.png
Oops, something went wrong.
Binary file added
BIN
+146 KB
...ker-desktop/cropped_screenshots/gifs/spuc_delete_container/DockerDesktop_71.png
Oops, something went wrong.
Binary file added
BIN
+128 KB
...ker-desktop/cropped_screenshots/gifs/spuc_delete_container/DockerDesktop_72.png
Oops, something went wrong.
Binary file added
BIN
+135 KB
...ker-desktop/cropped_screenshots/gifs/spuc_delete_container/DockerDesktop_73.png
Oops, something went wrong.
Binary file added
BIN
+120 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_34.png
Oops, something went wrong.
Binary file added
BIN
+91 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_35.png
Oops, something went wrong.
Binary file added
BIN
+107 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_36.png
Oops, something went wrong.
Binary file added
BIN
+130 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_37.png
Oops, something went wrong.
Binary file added
BIN
+104 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_38.png
Oops, something went wrong.
Binary file added
BIN
+89.4 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_39.png
Oops, something went wrong.
Binary file added
BIN
+123 KB
...odes/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec/DockerDesktop_40.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...es/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec_2/DockerDesktop_44.png
Oops, something went wrong.
Binary file added
BIN
+116 KB
...es/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec_2/DockerDesktop_45.png
Oops, something went wrong.
Binary file added
BIN
+89.1 KB
...es/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec_2/DockerDesktop_51.png
Oops, something went wrong.
Binary file added
BIN
+96.9 KB
...es/fig/docker-desktop/cropped_screenshots/gifs/spuc_exec_2/DockerDesktop_52.png
Oops, something went wrong.
Binary file added
BIN
+142 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/spuc_revival/DockerDesktop_54.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/spuc_revival/DockerDesktop_55.png
Oops, something went wrong.
Binary file added
BIN
+88.7 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/spuc_revival/DockerDesktop_58.png
Oops, something went wrong.
Binary file added
BIN
+97.4 KB
...s/fig/docker-desktop/cropped_screenshots/gifs/spuc_revival/DockerDesktop_61.png
Oops, something went wrong.
Binary file added
BIN
+124 KB
.../fig/docker-desktop/cropped_screenshots/gifs/spuc_stopping/DockerDesktop_41.png
Oops, something went wrong.
Binary file added
BIN
+123 KB
.../fig/docker-desktop/cropped_screenshots/gifs/spuc_stopping/DockerDesktop_42.png
Oops, something went wrong.
Binary file added
BIN
+127 KB
.../fig/docker-desktop/cropped_screenshots/gifs/spuc_stopping/DockerDesktop_43.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.