Crop Image to Headshot
Crops an image to a centred square and scales it to a 500 × 500 pixel JPEG. Useful for normalizing employee or member directories where source photos vary in aspect ratio.
Inputs
Section titled “Inputs”- Input File or Directory — an image, or a folder of images, in a document account.
- Output File or Directory — where the headshot is written.
Output
Section titled “Output”A 500 × 500 JPEG cropped from the centre of the source. For a folder, each file’s headshot is written into a folder named after the output path, without its extension.
- The crop is taken from the centre of the image; it does not look for a face, so frame source photos with the subject centred.
- A file that cannot be read as an image is copied to the output unchanged rather than failing the step.
- If the input path does not exist or has no files in it, the step finishes with a warning that names the path and processes nothing, and the workflow continues.
- The output path cannot be the input path.
Common Uses
Section titled “Common Uses”- Standardizing employee directory photos
- Generating consistent avatar imagery for an internal portal
- Trimming photos for ID badges and credentials