Skip to content

Adjust color balance #380

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Adjusting the color balance of an image is another common operation.

Desired solution

  • New method adjust_color_balance on Image
  • factor parameter to adjust the strength of the change
  • Use ImageEnhance.Color internally
  • Warn if factor is 1 since this leaves the image unchanged
  • Raise error if factor is below 0

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