Below you can see the front-view size comparison of the Nikon P340 and Olympus E-PL7. The Nikon P340 is clearly the smaller of the two cameras. Its body is 12mm narrower, 9 mm shorter and 6 mm thinner than the Olympus E-PL7.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.