I have a WPF program that processes images on a canvas.
I am at the point where I am trying to use serialization to be able to save the contents of my program and reload it at a later stage.
So, the moment I insert any images into the control, I use the absolute values of the path, I understand that this would be a bad idea for a program in which I want to save the state of the program and restart it later.
So what is the best course of action in this situation.
Do I create a folder inside my WPF project, for example, "Images", and then copy all the images that I use in my program into this folder, and then specify the path to this?
Or am I completely on the wrong lines here?
source share