Part2 Answer about making the picture more natural.

☕ 1 min read

Please not see the answer before think.

You should try and thinking to solve the questions.

View Questions

Although this is a simple question and easy… But it can be interesting for many people.

Question 1

Final Answer

pixel.setGreen(pixel.getRed());
pixel.setBlue(pixel.getRed());

Question 2

Final Answer

pixel.setGreen(pixel.getRed());
pixel.setBlue(pixel.getRed());

Question 3

Final Answer

avg = (pixel.getRed() + pixel.getGreen() + pixel.getBlue())/3;
pixel.setRed(avg);
pixel.setGreen(avg);
pixel.setBlue(avg);

Question 4

Final Answer

avg = (pixel.getRed() + pixel.getGreen() + pixel.getBlue())/3; 
pixel.setRed(avg);
pixel.setGreen(avg);
pixel.setBlue(avg);


Published   -   Written by:
Discuss this article on Twitter

Read Next post




Powered by Max Base
@BaseMax at GitHub (Max Base)
MaxBaseCode [@] Gmail {.DOT.} com
MaxBase.Org