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...
Answer the following statements true (T) or false (F)
1) The Clicks property of class MouseEventArgs is used to determine the number of times a Button was clicked. 2) Key events are more important to the program than other events. 3) KeyPress events cannot deal with modifier keys. 4) Pressing Enter to make a Button become depressed is not a key event; it's set in the control’s properties.
Root digital certificates are should never be self-signed.
Answer the following statement true (T) or false (F)