You download your company's logo and drop it onto a green title bar. It arrives with a white box around it. Or you enlarge an icon to fill a corner, and it turns blurry. Or a stock site offers you three download buttons, and you pick one at random. All three problems come down to the file format. Use JPEG for photos. Use PNG when you need a transparent background or crisp edges, as with screenshots and cut-out characters. Use SVG for icons and illustrations you want to resize or recolor. This article explains the difference, so you can choose on purpose.
What's the short answer?
If you only have a minute, this table is the whole article. The rest explains why.
| What you're adding | Use | Why |
|---|---|---|
| A photo | JPEG | Small files, and photos look fine |
| A screenshot | PNG | Text and sharp edges stay crisp |
| A cut-out person, or a logo on a colored background | PNG | It can have a transparent background |
| An icon | SVG | It stays sharp at any size, and you can recolor it |
| An illustration | SVG, or PNG if that's all you can get | It scales, and you can edit its parts |
What's the real difference between them?
The three formats look like three options on a menu. They're really two different kinds of thing, and knowing that explains almost every image problem you'll run into.
JPEG and PNG are made of pixels. A pixel image is a grid of tiny colored squares. It has a fixed size. Shrink it, and it looks fine. Enlarge it past its real size, and the squares start to show. That's the blur.
SVG is made of shapes. An SVG doesn't store squares. It stores instructions, such as "draw a circle here, in this color." Your screen redraws it at whatever size you ask for, so it's sharp when it's tiny and sharp when it fills the screen. You'll hear this called a vector image.
Pixels and Shapes
That's also why you can't turn a photo into an SVG in any useful way. A photo is millions of slightly different colors, and there are no clean shapes to describe.
When should you use JPEG?
JPEG was built for photographs, and that's still what it's best at.
It keeps files small by throwing away detail your eye is unlikely to miss. In a photo, with its soft edges and gradual changes of color, you don't notice. That matters in a course, where forty large photos can make the whole thing slow to load.
It has two limits.
- No transparency. A JPEG is always a full rectangle. That white box around your logo is a JPEG doing the only thing it can.
- Sharp edges suffer. The same trick that works on photos leaves a fuzzy halo around text, lines, and flat areas of color. Don't save a screenshot or a diagram as a JPEG.
You'll see both .jpg and .jpeg on the end of file names. They're the same format.
When should you use PNG?
PNG keeps every pixel exactly as it was. Nothing is thrown away, so text and hard edges stay clean.
It also supports transparency, which is the reason you'll reach for it most often. A PNG can have a see-through background, so it can sit on any color.
Use it for:
- Screenshots, especially of software with small text.
- Cut-out characters and objects, where the background has been removed.
- Logos, when you can't get an SVG.
- Diagrams and charts you've exported as pictures.
The cost is file size. A photo saved as a PNG is far bigger than the same photo as a JPEG, and it doesn't look any better. If your published course is enormous, look for photos saved as PNGs.
When should you use SVG?
SVG is the one most people skip, because it feels like a designer's format. It's the most useful of the three once you know what it does.
It scales. One icon file works at the size of a bullet point and at the size of a poster.
You can edit it. Because an SVG is a set of shapes, you can take it apart. In presentation software, you can often convert an SVG into shapes, ungroup it, and change the color of each piece. That's how you make a set of downloaded icons match your palette, or remove the one part of an illustration you don't want. I walk through it in How to Edit Graphics in PowerPoint.
Use it for icons, illustrations, logos, and simple diagrams.
One caution: Not every tool handles SVG the same way. Before you build a whole course around SVG icons, put one into your authoring tool, publish a test, and look at it.
What about the other formats?
You'll come across a few more. Most of the time you can leave them alone.
| Format | What it is | What to do |
|---|---|---|
| GIF | An old format with a small range of colors. It can hold a simple animation | Use it only for a short animation. For a still image, PNG is better |
| WebP | A newer format that makes smaller files than JPEG or PNG | Fine if your tool accepts it. If it doesn't, convert it to JPEG or PNG |
| AI and EPS | Working files from professional design software | Ignore them. When a download offers these alongside SVG or PNG, take the SVG or PNG |
Which format?
Eight images are headed for a course. Sort each into the format you'd want it in.
Image 1 of 8
A logo that has to sit on a colored bar, at several sizes
A photo of a person with the background removed
A headshot for a “meet the team” card
An illustration you'll enlarge to fill half the screen
A full-screen photo for the title screen
A chart exported as a picture from a spreadsheet
A screenshot of software, with small text
An icon you want to recolor to match your palette
Your result
How do you fix the usual problems?
Most image trouble in a course is a format problem in disguise. Here's how to read the symptoms.
| What you're seeing | What's going on | The fix |
|---|---|---|
| A white box around a logo or a person | It's a JPEG, or a PNG that was saved without transparency | Get a PNG with a transparent background, or an SVG. Renaming the file won't do it |
| An image goes blurry when you enlarge it | It's a pixel image, stretched past its real size | Start with a larger version, or use an SVG |
| Text in a screenshot looks smudged | It was saved as a JPEG | Take it again, and save it as a PNG |
| The published course is huge | Photos saved as PNGs | Save the photos as JPEGs |
| Your icons are all slightly different colors | They're pixel images | Find SVG versions, and recolor them |
Whatever the format, resize from a corner so the picture keeps its proportions. I cover that, and the rest of image handling, in How to Choose Images for eLearning.
Example
Mateo sorts out his files
Mateo is building the title screen for his maintenance course. It has a wide photo, with a deep green band across the bottom. He drops the company logo onto the band, and it arrives in a white rectangle.
The file he was sent is called logo.jpg. He emails marketing and asks for the logo as an SVG, or as a PNG with a transparent background. They send both. The SVG sits cleanly on the green.
Then he looks at the rest of his images and sorts them.
| Image | What he had | What he uses |
|---|---|---|
| Logo | JPEG | SVG |
| Photos of the properties | PNG, exported from a phone app | JPEG |
| Icons | PNG, in black | SVG, recolored to his charcoal |
| Screenshots of the work-order system | JPEG | PNG |
The icons take the longest. He'd downloaded them as small black PNGs, and they looked soft on a tablet. He finds the same set as SVGs, converts each to shapes, and fills them with his charcoal.
He adds one line to the Images box on his style guide: "Photos as JPEG. Screenshots as PNG. Icons and the logo as SVG." His contractor won't have to guess.
Common questions about image formats
How big should an image be?
At least as large as it will appear on the biggest screen your learners use. A full-screen photo should be as wide as your slide, in pixels, or wider. You can always shrink a pixel image. You can't enlarge one without it going soft.
Can you convert a PNG or JPEG into an SVG?
Sometimes. Design tools such as Adobe Illustrator can trace a simple, flat image, like a one-color logo, into shapes. The result usually needs tidying up. It's nearly always quicker to ask whoever made the image for the original SVG.
Does the format change how you add alt text?
No. Alt text is added in your authoring tool, and it works the same way whatever the format. I cover what to write in How to Make an eLearning Course Accessible.
Will your authoring tool compress images when you publish?
Many tools do, and most let you choose the quality in the publish settings. If your photos look soft in the published course and sharp in the editor, that setting is the first place to look.
The takeaway
JPEG is for photos. PNG is for screenshots and for anything that needs a transparent background. SVG is for icons, logos, and illustrations, because it stays sharp at any size and you can recolor it. When an image misbehaves, check its format first. Then write your three rules on your style guide, so every image in the course arrives the right way. For where to find images in these formats, see Where to Find Images and Graphics for eLearning.




















