A better quality photo will be produced from a .GIF file than from a .JPEG file. To conserve storage space, a .JPEG file compresses and may lose certain image details.
For a quality printed photo image, a 350 ppi (pixels per inch) resolution is desired.