The Galaxy S4 got a major camera upgrade; Samsung boosted the rear camera's megapixel count to 13 from the Galaxy S3's 8 megapixels. The Galaxy S4's rear camera also supports HD video recording with a host of features: panoramic view, image stabilization, high dynamic range (HDR) mode, and more. The font camera offers 2 megapixels and also support HD video recording -- and it can record video at the same time as the rear camera. All in all, it's a pretty impressive package.
The HTC One, however, takes a different approach. The device's rear camera has just a 4-megapixel sensor, but thanks to its UltraPixel technology, the device can perform better in low-light environments. And while it's not as feature rich as the Galaxy S4, the HTC One's Zoe mode, which records four seconds of video with every photo taken, has been praised by reviewers and critics. The phone's 2.1-megapixel front camera also supports HD video recording.