5 megapixel front cameraHTC is correct in saying the megapixel count is just one factor in what makes a good camera.
It prefers making the size of individual pixel sensors larger to absorb more light for night and indoor shots. That's laudable, but Apple's iPhone 5S and Nokia's Lumia Icon are both able to offer decent low-light shots while providing more megapixels than the One.
Compared with last year's model, though, the One's camera is much better, even at 4 megapixels. Colors look washed out in day shots I took with last year's camera. The new model seems to have fixed that. The new version also has a 5 megapixel front camera for selfies, far better than what rivals offer.