How would you write a program to solve this maze without simply following a wall until you reach the end?
cut it into a grid of multiple pieces, find the longest contiguous lines of white from one edge of the piece to the other edge and then attempt to connect those edges on the other pieces
College kids do this all the time. It's call the micromouse competition. Also, wall following is useless and mazes in competition are always constructed so any idiot dumb enough to try wall following will be stuck doing circles around an island (not that they would have won even if the mazes weren't constructed like that; such an inefficient algorithm would be waaaay too slow to beat anyone).
Here's the solution by the way
I dunno but optimise your fucking pngs.