With my SGS in the pocket, I just visited a fried with a DHD. As I never compared them head-to-head, we did a test photo with both devices.
DHD test photo
SGS test photo
I knew, the DHD's camera is bad. But I did not think that it is THAT bad. This is probably why I won't buy an HTC device until they change their strategy. HTC makes fine devices, but their cameras (and also speakers) are lousy.