Transfer images between processes using shared memory