Straighten Photo
or drop files here
Straighten Photo
Straighten Photo lets you rotate by a precise small angle and expand the canvas to retain the corners. Choose a photo to begin.
- Download a processed PNG
- Adjust clockwise angle (degrees)
- See the processing method and limits
Method and calculation
Rotate by a precise small angle and expand the canvas to retain the corners.
Inputs and settings
Straighten Photo accepts Clockwise angle (degrees) (minimum -45, maximum 45); Exposed background.
Worked example
Straighten Photo example — Clockwise angle (degrees): 3; Exposed background: "#ffffff". Preview instructions: Select a still photo, then use Clockwise angle (degrees): 3; Exposed background: "#ffffff". The result is a PNG with rotate by a precise small angle and expand the canvas to retain the corners.
Output and limitations
Small clockwise or counterclockwise rotations correct a tilted horizon. The bounding rectangle expands according to sine and cosine so corner content is retained. Newly exposed triangles receive the selected background color instead of an automatic crop.
Technical references: Canvas pixel manipulation