View Source for information.
This is a way to compare two arrays. First array is compared to second array and the difference is displayed. This is to compare an offline array and an online array holding the images available. When the new, online images are found they are downloaded automatically to the local machine to have something further done to them.
This is a none visually working version (Outputs to terminal) Output to terminal from the println is:
[banana, strawberry]
[apple, orange, banana, strawberry]
[apple, orange]

Source code: compareArray

Built with Processing