1. This lab was done to give us an exercise in manipulating pictures using the JES program. We learned how to duplicate picture and use loop functions to produce several different versions of the same original picture. We learned how to change the amount of a certain color shows up in the pixels of a picture. We learned how to make a picture darker or lighter and how to make only certain colors be emphasized given their pixel value is a certain number. With all this we also learned the way the global and symbol table go through the process of storing and displaying the information received by the user.
2. In this project we started by making the original picture smaller by scaling it down. Next copies of the picture were made and all the new pictures were displayed with the original using the main() function that showed all the pictures at once. The first modification was to make the picture a grayscale. To do this all the colors were called and then each was set to the same value. When this happens all the colors appear black and white. Next by setting a color of all the pixels to a given number the amount of blue, red or green shown in the photo could be changed. If the value was really low, then very little of that color was visible and only the other two colors showed in the picture. But if the value was set very high then that would be the only color that would be really visible. Next the colors of pixels could be switched. For example the red and blue could be switched. This would make all the blue in the picture appear red and all the red in the picture would appear blue. Finally, all the colors could be switched with one another and thus all the colors in the original picture would appear different in the new photo.
4. Other interesting things that could be done with the JES program was making a negative of a picture. By making the values of each color the opposite of their given values the picture will look like its negative version. If and else statement could also be used. For example if the value of blue was a over a certain value then it could be set to a bright red. Thus all the really blue pixels could be made really red, and if they were not really blue then a else statement could be used and the rest would be set to a green. Finally, shapes could be added to make boarders and make the picture look more interesting. (the negative and the oval shapes did not work because their duplicatepicture function is not working)
5. Doing this lab I learned a lot about easy ways to manipulate pictures and make them much more interesting. By changing the value of each color I learned how the values of 0-255 can change the amount of each color (red, green, blue) there is in each pixel. It was also interesting to see how by making one color value lower the other colors would stick out. Thus increasing the value of one color is not the only way to make the picture look strongly of one color. Also, I learned a lot about all the things that can be done using JES and all the interesting functions that change different aspects of the picture.