in your first module you must open, modify and save the pic. At the end of the first module you must call the second module with some API as
CreateProcess and use the parameters to give the file name with it, and so the second exe knows what to do.
As workaround you can loop in the second exe for some special-named file, which the first exe has to write.