Place a circular crop on the right side of a wide photo
Admin ·
Suppose a 900 × 600 photo shows a person on the right. The largest circle that fits has a diameter of 600 pixels. The unused width determines how far the crop can move.
Calculate the area inside the crop
With diameter 600 there are 300 unused horizontal pixels. Horizontal position 0 starts the crop at the left edge. Position 50 starts at pixel 150, and position 100 starts at pixel 300. The vertical position has no effect because the circle spans the image height.
Inspect the exported corners
Crop the photo and save the PNG. It measures 600 × 600. A viewer that paints a white background can make the corners look white. Put the PNG over a different background to see the circular edge and its partially transparent boundary pixels.
HTML Standard — canvas shapes, text and compositingW3C Portable Network Graphics specification
Choose a crop that survives a round avatar mask
For a team headshot, check the top of the hair and both shoulders against the circular edge. An object can fit inside the square crop while a corner of it falls outside the circle. Try a source with more space around the subject if repositioning cuts off the opposite edge.
View the PNG on the light and dark backgrounds used by your directory. If its corners show a solid square only after upload, inspect the stored file type and the platform’s conversion behavior.
Common questions
Can I choose a diameter larger than the source?
Choose a diameter no larger than the shorter source side. The crop uses source pixels at their original scale.
Can I move the crop down in a square photo?
Yes. Choose a diameter smaller than the side length to create vertical travel, then increase the vertical position.