# JPG vs PNG: which image format should you use?

JPG and PNG both store pictures, but in opposite ways: one throws away detail to stay small, the other keeps every pixel. Here’s the difference, real file-size tests, and which to pick for slides, documents and the web.

*By The TeachSlides team · Updated December 3, 2026 · https://www.teachslides.com/blog/jpg-vs-png/*

**In short:** use **JPG** for photographs and anything with smooth colour and lots of detail: it’s *lossy*, so it throws away detail you barely notice to make files much smaller. Use **PNG** for screenshots, text, diagrams, logos and anything that needs a **transparent background**: it’s *lossless*, so every pixel stays exactly as it was, but photos come out much larger.

Converting between them doesn’t improve anything: a JPG saved as PNG keeps its JPG blur and gets bigger. Pick the right format when you save or export, from the original.

## JPG vs PNG at a glance

JPG and JPEG are the same format; the two spellings are just file extensions.

|  | JPG (JPEG) | PNG |
| --- | --- | --- |
| Compression | Lossy: discards detail to save space | Lossless: every pixel is kept exactly |
| Transparency | No (see-through parts become a colour) | Yes, including soft edges (an alpha channel) |
| Best for | Photos, realistic images, gradients | Screenshots, text, line art, logos, icons, diagrams |
| File size for photos | Small | Large, often several times bigger |
| File size for flat graphics | Often bigger than PNG, with smudges round edges | Small |
| Re-saving | Loses a little more each time | No loss, however often you save |
| Quality setting | Yes (trade size for quality) | No (only compression effort) |
| Animation | No | Animated PNG (APNG) plays in modern browsers; elsewhere, GIF or video is safer |

## What “lossy” and “lossless” mean

**JPG** splits the picture into small blocks and stores each one in a simplified form, keeping the overall shapes and colours and dropping fine variation the eye is less sensitive to. At high quality you won’t see it in a photo. On sharp edges, such as black text on white, it leaves faint smudges and ringing (“JPEG artefacts”), and each time a JPG is edited and saved again, a little more is lost.

**PNG** compresses the way a zip file does: it finds patterns and stores them more efficiently, then rebuilds the image exactly, bit for bit. Large areas of one colour, like a screenshot or a diagram, compress very well. A photo, where every pixel differs slightly from its neighbour, doesn’t, so the file stays big.

## Transparency

PNG can store an **alpha channel**: how see-through each pixel is, from fully clear to fully solid, with smooth edges in between. That’s how a logo sits cleanly on any background. JPG has no transparency at all, so converting a transparent PNG to JPG fills the clear parts with a colour (our converter lets you choose white or black).

## Real tests: what converting does to file size

We ran three test images through our free converters and compressor:

- **A flat logo with a transparent background** (PNG, 12 KB) became a **33 KB JPG**: almost three times bigger, and the transparent background turned white.
- **A colourful test pattern** (PNG, 232 KB) became a **105 KB JPG**: less than half the size.
- **A 3000 × 2000 photo-like landscape** (JPG, 165 KB) became a **601 KB PNG**: over three times bigger, with no gain in quality.

![The free PNG to JPG converter with Quality High and see-through parts set to White, showing logo.jpg 12 KB to 33 KB and photo.jpg 232 KB to 105 KB](https://www.teachslides.com/blog/jpg-vs-png/png-to-jpg.webp)

*The free PNG to JPG converter: the flat logo grew from 12 KB to 33 KB as a JPG, while the busy test pattern shrank from 232 KB to 105 KB.*

![The free JPG to PNG converter showing landscape.png at 601 KB, converted from a 165 KB JPG](https://www.teachslides.com/blog/jpg-vs-png/jpg-to-png.webp)

*The free JPG to PNG converter: the photo-like landscape went from 165 KB to 601 KB. Converting a JPG to PNG can’t bring back detail; it only makes the file bigger.*

## Put the right pictures on your slides, then teach them on camera.

TeachSlides is a free desktop app that records your slides and camera together and gives you a finished lesson video when you stop. Windows, Mac and Linux.

## Which should you use?

- **Photos for a website, slide or document:** JPG at high quality (around 75–85 in most tools).
- **Screenshots of apps, websites or text:** PNG, so the text stays crisp. The free [screenshot tool](/tools/screenshot-tool/) saves PNG or JPG, and **Windows + PrtScn** saves a PNG to the Screenshots folder (see [where do screenshots go](/blog/where-do-screenshots-go/)). To share one, see [how to send a screenshot](/blog/how-to-send-a-screenshot/).
- **Logos, icons and anything on a coloured background:** PNG, for the transparency.
- **Diagrams, charts, maths and handwriting:** PNG.
- **Photos you’ll keep editing:** keep the original (or a PNG/TIFF master) and export JPG at the end.
- **Images on a web page, where size matters most:** consider **WebP**, which can be lossy or lossless and supports transparency, and is smaller than both for many images. [JPG to WebP](/convert/jpg-to-webp/) converts in the browser.

## Making images smaller without changing the format

Often the problem isn’t the format, it’s the size. A 4000-pixel-wide photo on a slide shown at 1920 pixels is mostly wasted. The free [image compressor](/tools/image-compressor/) lowers JPG quality, aims for a target size (say, under 200 KB), shrinks the dimensions, or changes the format, in a batch. In our test, the 165 KB landscape JPG dropped to **72 KB** at quality 75. It left the PNG as it was, because a PNG only gets smaller by resizing it or saving it as JPG or WebP.

![The free image compressor with Quality 75, showing 397 KB to 304 KB in total, landscape.jpg 165 KB to 72 KB (minus 56 percent), and photo.png kept as it was](https://www.teachslides.com/blog/jpg-vs-png/image-compressor.webp)

*The free image compressor: the JPG shrank by 56% at quality 75; the PNG was kept, with a note on how to make it smaller.*

For more on pixel dimensions, print size and what “high resolution” really means, see [what is a high-resolution image](/blog/what-is-a-high-resolution-image/).

## Do it faster with TeachSlides

In TeachSlides you can paste or drop JPGs and PNGs straight onto a slide, present the slides with your camera, and get a finished, captioned lesson video when you stop. When you need a still, export the slides as a PDF.

## From pictures to a lesson video in one take.

Build slides with your images, present them on camera in TeachSlides, and export 16:9, 9:16, 1:1 and 4:5 from the same recording. Free to start; Pro is $149 once.

## Frequently asked questions

### What is the difference between JPG and PNG?

JPG uses lossy compression: it discards some detail to make photos small, and has no transparency. PNG is lossless: it keeps every pixel exactly and supports transparent backgrounds, but photos are much larger.

### Which is better quality, JPG or PNG?

PNG, because it’s lossless. But for photos a high-quality JPG looks the same to the eye at a fraction of the size. For text, screenshots and logos, PNG is clearly better: JPG smudges sharp edges.

### Does converting JPG to PNG improve quality?

No. The detail lost when the JPG was saved is gone; a PNG copy keeps the JPG’s flaws and is usually much bigger. Convert to PNG only if you need to edit without further loss.

### Does PNG support transparency?

Yes. PNG can store an alpha channel, so each pixel can be fully clear, fully solid or partly see-through. JPG has no transparency.

### Should I use JPG or PNG for slides?

JPG for photos, PNG for screenshots, diagrams, logos and anything with text or a transparent background. Keep images no bigger than they’ll be shown, usually 1920 pixels wide for a full slide.

### How do I convert PNG to JPG for free?

Use the free [PNG to JPG](/convert/png-to-jpg/) converter: choose the files, the quality and what colour see-through parts become, and download them one by one or as a zip. Nothing is uploaded.

## Sources

- W3C: [Portable Network Graphics (PNG) Specification (Third Edition)](https://www.w3.org/TR/png-3/): lossless compression, optional alpha channel, sample depths of 1 to 16 bits. Read on 3 December 2026.
- File sizes: our own tests with the free [PNG to JPG](/convert/png-to-jpg/), [JPG to PNG](/convert/jpg-to-png/) and [image compressor](/tools/image-compressor/) tools on 3 December 2026.

*First published December 3, 2026; last updated December 3, 2026. Prices and plans change often, so check each vendor’s site before you buy.*
