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