Below you can see the front-view size comparison of the Nikon S1200pj and Fujifilm XQ2. The Fujifilm XQ2 is 7 mm narrower and 5 mm shorter than the Nikon S1200pj but it is also 10 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.