Question
Be aware that this will double the height of the picture
5.13 Write a method to mirror a picture around a vertical line from (width-1, 0) to (width-1, height-1).
Be aware that this will double the width of the picture.
5.14 Try to mirror a picture around a diagonal line from (0, 0) to (width-1, height-1).
Try to mirror a picture around a diagonal line from (0, height-1) to (width-1, 0).
5.15 Write a method to rotate a picture to the right by 90 degrees.
6.8 Which of the methods below removes all of the blue from every pixel of a picture that already has a blue value of more than 100?
1. A only
2. D only
3. B and C
4. C and D
5. None
6. All
What do the other ones do?
Solution Preview
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.