Resize and rename PNG

Takes PNGs from input, resizes them to 2048px wide, appends a number for each image found, and asks you where to save it in Files.

Actions Used

shortcuts-action-icon-repeat-with-each.webp
Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-save-file.webp
Save File
Save files to iCloud Drive. Turn off “Ask Where to Save” in order to specify a destination path in the Shortcuts folder.
shortcuts-action-icon-resize-image.webp
Resize Image
Scales images to a particular width and height.
shortcuts-action-icon-convert-image.webp
Convert Image
Converts the images passed into the action to the specified image format.
shortcuts-action-icon-get-images-from-input.webp
Get Images from Input
Gets images from the result of the previous action. For example, this action can get the album art of a song, or all the images on a web page.
action-icon-set-name.webp
Set Name
Sets the name of the item passed as input.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Resize%20and%20rename%20PNG
Open Shortcut deep link
shortcuts://open-shortcut?name=Resize%20and%20rename%20PNG
AppleScript code
tell application “Shortcuts Events” run shortcut “Resize and rename PNG” end tell

More From This Folder

More From The Library


Get way deeper into Shortcuts – become a member.