Could you please download and install Android's stock camera, and see if there is any difference ? Before you take it back to claim warranty, you can try to find out whether it's the software or hardware problem. If the photos are as bad using the stock Cam, then you know you have faulty device.
You can always remove the app, it won't cause any problems. It will run two cameras and two galleries in parallel.