How to implement this in C?

0 like 0 dislike
38 views
How to make this 5bd747c49ec65329810537.jpeg here e00mpx6.jpg
How to make "shadows"? I'm reading the rgb values of each pixel and then what?
by | 38 views

1 Answer

0 like 0 dislike
You want to make an image grayscale? Use this formula:
Y = 0.2126 * R + 0.7152 * G + 0.0722 * B

If you have something else called "shadows", then describe in more detail what you mean.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users