Skip to content

Rotate image 90 degrees left/right #281

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

A common transformation on images is to rotate them left or right by 90 degrees.

Desired solution

Add two methods to Image:

  • rotate_right to rotate the image clockwise by 90 degrees
  • rotate_left to rotate the image counter-clockwise by 90 degrees.

Both should return a new image and leave the original unchanged.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

releasedIncluded in a release

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions