In the previous chapter, we introduced a model for on-screen images that allowed us to load them from files and to change them by moving their pixels around. In this chapter, we will modify images by changing the colors of individual pixels.
To get started, create a new project in IntelliJ from this repository: https://github.com/Apress/learn-to-program-w-kotlin-ch15.git. The downloaded code is much the same as at the end of the previous chapter, but some extra image files are included, and the Flag class has been ...