sorry forgot

This commit is contained in:
Minecon724 2024-08-04 12:05:34 +02:00
parent ec1fefc32e
commit 59a007972e
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

4
main.c
View file

@ -76,8 +76,6 @@ void vibrancer(unsigned char *pixel) {
g = pixel[1], g = pixel[1],
b = pixel[2]; b = pixel[2];
printf("%d %d %d\n", r, g, b);
// TODO remove unnecessary calculations // TODO remove unnecessary calculations
int min_rgb = min3(r, g, b); int min_rgb = min3(r, g, b);
int max_rgb = max3(r, g, b); int max_rgb = max3(r, g, b);
@ -121,7 +119,7 @@ int main(int argc, char **argv) {
unsigned char *img = stbi_load(input, &width, &height, &channels, 0); unsigned char *img = stbi_load(input, &width, &height, &channels, 0);
printf("Width: %d, Height: %d, Channels: %d\n", width, height, channels); //printf("Width: %d, Height: %d, Channels: %d\n", width, height, channels);
if (img == NULL) { if (img == NULL) {
printf("Error loading image\n"); printf("Error loading image\n");