Post

Replies

Boosts

Views

Activity

Reply to Where to get 5.5 inch iPhone screenshots for submission
To build on the magick convert answer here is a bash script to help #!/bin/bash # Define the directory containing the images image_directory="./" # Define the target directory where processed images will be saved output_directory="./5.5/" # Ensure the output directory exists mkdir -p "$output_directory" # Loop through all files that match the pattern for img in "$image_directory"Simulator\ Screenshot\ -\ iPhone\ SE\ \(3rd\ generation\)*.png; do # Extract the filename without the path filename=$(basename "$img") # Define the output path output_path="${output_directory}${filename}" # Apply the resize and crop operations magick convert "$img" -resize 1242x2209 -crop 1242x2208+0+0 "$output_path" echo "Processed: $img -> $output_path" done
Aug ’24