At high quality settings jpeg is still pretty good for 8 bit photos. Newer formats support higher bit depths.