Circle crop
circle_cropCreates a round profile picture by center-cropping to a square and applying a circular transparent mask. PNG, WebP, and AVIF keep transparent corners; JPEG flattens them onto a background color.
Instructions
Make a round profile picture: center-square crop plus a circular transparent mask. png (default), webp and avif keep the transparent corners; jpeg flattens them onto a background color.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Output side in pixels (default: the largest centered square). | |
| input | Yes | ||
| format | No | ||
| output | No | Output file path. Default: next to the input, with a suffix and the right extension. | |
| preview | No | Attach a small JPEG preview to the result (default true). | |
| quality | No | Lossy quality 1-100 (default 80). Ignored for png. | |
| background | No | CSS color used to flatten transparency when the output is jpeg (default #ffffff). |