Most compact cameras have a 3:4 ratio and will lose 1/4 inch from the long sides. Try 5x6.7 prints for a perfect fit.
Many serious cameras have a 2:3 ratio and will lose 1/2 inch from the short sides.