Changing Step 3: Changing which data we use

Below is a selection of images that you can use in the programs in this section.

beach.jpgbaby.jpgvangogh.jpgswan.jpg
puppy.jpgkitten.jpggirl.jpgmotorcycle.jpg
gal1.jpgguy1.jpggal2.jpg

We can also change which part of the picture we read and manipulate. When we are changing several colors at once we can create a new pixel with the desired color using Pixl(red,green,blue) as shown below on line 20.

What happens if we skip every other x and y as we manipulate the colors? Maybe make the green 255 and the blue 0?

Let’s try side-to-side copying.

You have attempted of activities on this page