Use PNG for crisp document graphics and JPG or WebP for photographic pages
PNG keeps sharp text, line art, and flat-color diagrams free from new JPEG artifacts, but full-page PNG files can be large. JPG is usually smaller for photographic or scanned pages and needs a suitable quality setting. WebP can be efficient in modern systems. Confirm that the destination accepts the chosen extension before converting a long document.