A C program to solve PNG mazes

I recently saw the Maze solving youtube video from Computerphile and I find it very interesting. So I decided to build my own maze solver program.

It’s a C program that takes a maze PNG and outputs the solution using the Wall Follower algorithm

The program has a few constraints:

You can find more information to build an use the program in my Github


Input file:

Unsolved maze

$ ./maze_solver maze.png
Filename: maze.png
Width: 101
Height: 101
Algorithm duration: 0.000121 seconds

Output file:

Solved maze