Photo File Formats Explained: JPEG, TIFF, PNG and HEIC
Posted on 2026-11-30For most family photos, the short answer is this: keep your best-quality copy in JPEG or TIFF, share in JPEG, and don't worry much beyond that. The longer answer depends on two ideas, compression and bit depth, and once those make sense, every format falls into place.
Two ideas that explain every format
Compression is how a format makes files smaller.
- Lossless compression shrinks the file without throwing anything away. Open it and you get back exactly the pixels you saved, like a zip file.
- Lossy compression discards detail your eye is unlikely to notice. Files get much smaller, but the discarded detail is gone for good, and saving again throws away a bit more.
Bit depth is how finely each color is recorded. 8 bits per channel (red, green and blue), usually called 24-bit color, allows about 16.7 million colors, which is more than enough to view or print a photo. 16 bits per channel, or 48-bit color, records far finer steps. That mainly matters when you push an image hard in editing, such as rescuing a badly faded print, because big adjustments on 8-bit files can create visible banding in skies and shadows.
JPEG
JPEG (also written JPG) is the format nearly every camera, phone, website and printer understands. It uses lossy compression with an adjustable quality setting, and it stores 8 bits per channel.
At high quality settings, a JPEG is visually indistinguishable from the original for viewing and printing, at a fraction of the size. A 4x6 print scanned at 600 DPI is about 26 MB uncompressed and usually a few megabytes as a high-quality JPEG.
The catch is generation loss. Every time you open, edit and re-save a JPEG, it gets compressed again and loses a little more. One or two saves won't show, but dozens will. The fix is easy: never edit your only copy. Keep the original file untouched and save edits as new files.
Use it for: sharing, printing, everyday viewing, and as the archive copy for most families.
TIFF
TIFF (or TIF) is the traditional format for archival master files. It can be saved uncompressed or with lossless compression (LZW or ZIP), and it supports both 8 and 16 bits per channel. Libraries and archives commonly use TIFF for master copies of scanned images.
The downsides are size and convenience. TIFFs are several times larger than high-quality JPEGs, many websites and email services won't display them, and phones handle them awkwardly.
Use it for: master copies when you plan heavy editing or restoration, or when you want a file that has never been through lossy compression.
PNG
PNG is lossless and supports 8 or 16 bits per channel, plus transparency. It was designed for the web, and it shines on graphics, screenshots and scanned text, where sharp edges matter.
For photographs, PNG files are much larger than JPEGs and offer no real advantage over TIFF for archiving. Support for photo metadata like dates and captions has also been less consistent than in JPEG and TIFF.
Use it for: scanned documents, screenshots, graphics, and images with transparent backgrounds.
HEIC
HEIC is the format iPhones use by default for photos (Apple switched to it in 2017). It uses newer compression than JPEG, so photos take roughly half the space at similar visual quality, and it can store extras like Live Photo data and depth information.
The trade-off is compatibility. Older Windows computers, some websites, and many photo printing services don't open HEIC without extra software. iPhones usually convert to JPEG automatically when you share or transfer to a computer, and you can set the camera to shoot JPEG ("Most Compatible") in the iPhone's camera format settings.
Use it for: taking photos on an iPhone. For long-term archives and sharing with relatives, keeping or exporting JPEG copies avoids compatibility headaches.
RAW
RAW isn't one format but a family of them (CR3, NEF, ARW, and Adobe's open DNG, among others). A RAW file holds the unprocessed data from a camera's sensor, with more bit depth and much more room to adjust exposure and color than a JPEG.
You'll rarely encounter RAW when scanning prints. It matters if you digitize photos by photographing them with a good camera on a copy stand, and some scanning software can also save a raw DNG file. RAW files need processing before they're viewable everywhere, so they aren't for sharing.
Use it for: camera-based digitizing where you'll edit each image. Export JPEGs for everything else.
Formats you'll see on the web
WebP and AVIF are newer formats that websites use to load images quickly. They're fine for viewing, but if you save a family photo from a website or social media, you're getting a compressed, often resized copy. Ask the person who posted it for the original file instead.
Archival vs. sharing: a simple plan
- Keep a master. Store the best version you have: the original scan, either TIFF or maximum-quality JPEG. Don't edit it.
- Edit copies. Crops, color fixes and restorations get saved as new files, ideally in a separate folder.
- Share JPEGs. Export JPEG copies for email, social media, photo books and prints.
- Stick to open, widely used formats. JPEG and TIFF have been readable for decades across every major operating system. That track record is worth more than a few saved megabytes.
- Check your files now and then. Open a sample from your archive every year or so, and keep backups in more than one place.
If you're choosing resolution at the same time, our post on DPI and resolution covers how many pixels you need, and the complete guide to digitizing family photos puts format choice alongside scanner settings and backups. Scanning letters and certificates instead of photos? See how to digitize family documents, where PDF enters the picture.
What PhotoPanda delivers
We scan prints at 600 DPI in 24-bit color and deliver compressed JPG files, resized to a maximum of 6000 pixels on the longest side, which is the format you can open, share and print anywhere. Uncompressed TIF files are available on request for photo prints. Our help article on resolution, DPI and format has the details.



















