Skip to content

Rename flip_vertically and flip_horizontally methods #945

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Image and ImageList have the methods flip_vertically and flip_horizontally. The names can be slightly confusing, though, as flip_vertically flips images along a horizontal axis and flip_horizontally flips them along a vertical axis.

Desired solution

Rename

  • flip_vertically to flip_top_and_bottom
  • flip_horizontally to flip_left_and_right.

This makes it completely clear how the image is transformed.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    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