Topic 1 - Variables and Data Types
Topic 2 - Conditionals and Strings
Topic 3 - Loops
Topic 4 - Arrays
Topic 5 - File Handling
Semester 1 Projects
Topic 6 - Classes/Objects and Methods
Topic 7 - ArrayLists
Semester Projects

Part 1c: Flip Horizontal

In this method you should create a new image whose pixel positions are flipped across an imaginary vertical centered line through the image.

For example, the diagram below shows a source image of size 6×4 flipped horizontally to create a result image of size 6×4; the pixels are indicated by letters just for illustration. Note that the source image’s width may be different from its height, and that the dimensions of the result image should always be the same as the source image. Additionally, flipping an image horizontally twice should return it to its original form.