Below you can see the front-view size comparison of the Canon ELPH 340 HS and Sony WX220. The Sony WX220 is 8 mm narrower and 6 mm shorter than the Canon ELPH 340 HS but they have the same thickness of 22 mm.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.