- There are 5 main formats in which to store images.
- Each of image file types has their own pros and cons. They were created for specific, yet different, purposes.
- JPEG stands for Joint Photographic Experts Group.
- File extension is .jpegor .jpg.
- "Lossy"compression format. Source file is compressed to make small file size with effect on the image quality.
- JPEG can be mostly preferred while file size is chosen than image quality.
Best for:
- Web images, emails, ppts etc as small in size and loads faster.
- Most cameras store in JPEG format more images can be stored on card.
- Line drawings or logos or as compression make them look jagged.
- If there are images with text don't go for jpeg.
2. PNG:
- Stands for Portable Network Graphics.
- File extension is .png.
- "Loseless" compression format.
- File size is large.
Best for:
- Compress images without losing quality; suitable for text documents.
Bad for:
- Storage of pics on camera because of its large file size.
- Also does not support animations.
3. GIF:
Best for:
- Stands for Graphics Interchange Format.
- File extensions is .gif.
- GIF files are typically small in size and are very portable.
- Web graphics and simple animations.
- Mostly used on web for simple animations.
Bad for:
- Photography as gif has limited colors.
- Bad for printing.
4. TIFF:
- Stands for Tagged Image File Format.
- File extension is .tiff or .tif.
- These are uncompressed and thus contain lot of detailed image data.
- File size is large.
- High quality prints, professional publications, complex imagery.
Bad for:
- web images as size is large takes time to load.
- Most web browsers don't support tiff.