nsxiv/etc
Berke Kocaoğlu 95bc9b463b add brightness and contrast (#396)
* Imlib2 supports modifying gamma, brightness and contrast directly
  while sxiv only supports gamma. Makes sense to extend it to brightness
  and contrast as well.

* Since color corrections need to be aware of each other, they have been
  refactored into one centralized function.

* This also makes the code more hackable as it makes it easier to add
  more color correction functions without them interfering with each
  other.

Co-authored-by: 0ion9 <finticemo@gmail.com>
Co-authored-by: NRK <nrk@disroot.org>
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/396
Reviewed-by: NRK <nrk@disroot.org>
Reviewed-by: TAAPArthur <taaparthur@noreply.codeberg.org>
Co-authored-by: Berke Kocaoğlu <kberke@metu.edu.tr>
Co-committed-by: Berke Kocaoğlu <kberke@metu.edu.tr>
2022-12-22 11:21:40 +00:00
..
examples Move uncritical files into `etc/` (#350) 2022-08-09 16:21:52 +02:00
woodpecker [ci]: make it easy to run analysis locally (#395) 2022-12-02 10:50:15 +00:00
CHANGELOG.md Misc docs cleanup (#362) 2022-08-19 08:36:53 +02:00
CONTRIBUTING.md Move uncritical files into `etc/` (#350) 2022-08-09 16:21:52 +02:00
nsxiv.1 add brightness and contrast (#396) 2022-12-22 11:21:40 +00:00
nsxiv.desktop Move uncritical files into `etc/` (#350) 2022-08-09 16:21:52 +02:00