Image formats fall into two families. Raster images (JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, PSD) are grids of pixels: they get blurry when you enlarge them. Vector images (SVG, and the shapes inside PDFs) are made of paths: they stay sharp at any size.
The formats at a glance
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| JPG | Lossy | No | Photos everywhere |
| PNG | Lossless | Yes | Logos, screenshots, graphics, cut-outs |
| WebP | Lossy or lossless | Yes | Smaller website images |
| AVIF | Lossy or lossless | Yes | The smallest high-quality web images |
| HEIC | Lossy | Yes | iPhone photos (saves space, poor compatibility) |
| GIF | Lossless, 256 colours | 1-bit | Short simple animations |
| BMP | Usually none | No | Old software, pixel art, 1-bit bitmaps |
| SVG | Vector | Yes | Logos, icons, illustrations |
| PSD | Layers | Yes | Photoshop work files |
Choosing
- A photo for sharing: JPG at quality 80 to 85.
- A logo or an icon: SVG if you have it, otherwise PNG.
- Anything with a transparent background: PNG, WebP or AVIF, never JPG.
- A fast website: WebP or AVIF, often half the size of JPG.
- Print: the original at full size, PNG or high-quality JPG; ask the printer.
Common problems
- "Windows can't open my iPhone photo." It is HEIC. Convert it to JPG.
- "My transparent PNG has a white box." It was saved or converted to JPG somewhere.
- "My logo is blurry when I enlarge it." It is raster. Get the SVG.
- "This site won't accept WebP." Convert it to PNG or JPG.
Tools
- Image Converter: PNG, JPG, WebP, AVIF, HEIC and PDF, in batches.
- Image Compressor & Resizer: smaller files and exact sizes.
- Image to Bitmap: dithered 1-bit art and real BMP files.
For a deeper comparison of the four web formats, read PNG vs JPG vs WebP vs AVIF.