The process is pretty simple. I just separate the "visible" image and the "ghost" image onto their own separate layers with a transparent background. The ghost image is completely white. I erased parts of the white to make the lines, so that any background would show through. Saved it as a PNG and voila.
Hopefully that wasn't too confusing...?