I am looking to write a function which can be called into main which will draw a border around my image and then allow me to save this image to open later. I have all the code for saving and opening the image, i am however new to this and have no idea where to start with the function to draw the border.
I am also required to invert the image under the same circumstances, and by this i mean change all the 1 values to a 0 and vice versa.
Any help would be much appreciated.
Bookmarks