Rewrite the clear blue program to maximize blue (i.e., set it to 255) instead of clearing it. Is this useful? Would the red or green versions of the maximize function be useful? Under what conditions?
What will be an ideal response?
```
def maximizeBlue(picture):
for p in getPixels(picture):
setBlue(p,255)
```
This could potentially be useful for artistic reasons, for example to make an image appear to be taken under water. Red or green versions could also be useful for artistic purposes.
You might also like to view...
What is nested virtualization?
What will be an ideal response?
To ________ an object like a text box is to move that object in small increments using the directional arrow keys
A) prod B) nudge C) cut D) focus
Click a(n) ________ to resize a shape that you've inserted on a slide
A) sizing handle B) rotation handle C) shape line D) adjustment handle
The _____ laptop drive has no moving parts and produces less heat than mechanical drives
Fill in the blank(s) with correct word