From 64835dbf3c4b9451d526d4582ca82289f8ab9d2d Mon Sep 17 00:00:00 2001 From: Minecon724 <git@m724.eu> Date: Thu, 12 Sep 2024 19:55:33 +0200 Subject: [PATCH] improve defaults --- README.md | 14 +++++++------- main.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 80c5d5f..b2bf377 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ 1. Clone this repo: - ``` - git clone https://git.m724.eu/Minecon724/enhancer - ``` + ``` + git clone https://git.m724.eu/Minecon724/enhancer + ``` 2. Open `main.c` and take a look at the settings, defaults are fine 3. Compile: (you must do this after every change of settings) - ``` - make - ``` + ``` + make + ``` 4. Done, you should see `enhancer` in the main directory Usage: @@ -19,4 +19,4 @@ To build a debug binary: (you don't need this unless you do) make debug ``` -Just so I don't forget, I wanted to *make* a *make* sure `make` is installed joke but I rearranged things and it doesn't fit (*make* sense) +Ignore warnings from `stb_image` diff --git a/main.c b/main.c index 1c2060b..2c0a076 100644 --- a/main.c +++ b/main.c @@ -18,7 +18,7 @@ the higher value the less effect it has so when I say "reduce strength" I mean "increase the value" */ -#define VIBRANCE_STRENGTH 1.1 +#define VIBRANCE_STRENGTH 1.5 /* if a pixel goes below 0% or above 100% basically subtract the difference