Below you can see the front-view size comparison of the Canon ELPH 340 HS and Canon ELPH 330 HS. The Canon ELPH 330 HS is 3 mm narrower and 2 mm shorter than the Canon ELPH 340 HS but it is also 1 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.