illustration de l'environnement d'un photographe

What are the most popular image formats ?

Here is a list of the most popular image formats, as well as their common uses:

Raster image formats (bitmap)

  • JPEG (Joint Photographic Experts Group) :
    • Usage: Ideal for photos and images with lots of color and detail.
    • Benefits: Good compression, Widely compatible.
    • Cons: Loss of quality with each recording (lossy compression).
    • If you don't know what quality or percentage of compression, be aware that it depends on both the image, example if you take a sandy landscape , very graphic, There are a lot of flat surfaces, whereas a forest contains a lot of details to compress for the jpeg format, because of the branches, leaves.
      If you use a resolution that is more “web”, maximum 4K, and very often rather 2K ( soit 2048 pixels pour le bord le plus large ), une compression jpeg de 92% sera le meilleur ratio pour maintenir une qualité avec une taille raisonnable. if you want to optimize the weight of the file, alors vous pouvez aller facilement jusqu’a 80% voir moins ( 75% ) if you don't need to zoom in on the photo.
  • PNG (Portable Network Graphics):
    • Usage: Perfect for graphics with solid color areas, Logos, Screenshots, and images requiring transparency.
    • Benefits: Lossless compression, Transparency (Alpha Channel), Good image quality.
    • Cons: Files that may be larger than JPEG for photos.
  • GIF (Graphics Interchange Format):
    • Usage: Ideal for short and simple animations, icons and graphics with few colors.
    • Benefits: Supports animation, Transparency.
    • Cons: Limited color palette (256 couleurs maximum).
  • WebP:
    • Usage: Modern alternative to JPEG and PNG, developed by Google.
    • Benefits: Better compression than JPEG and PNG, Supports transparency and animation.
    • Cons: Less extensive compatibility than JPEG and PNG (but constantly improving). Safari on Mac comes to mind, especially when it doesn't support WebP in its oldest versions, ( MacOs Big Sur 11 minimum ), However, there are other limitations, especially in the support of WebP in the Windows file manager, Because apparently the webp does not support searches to exploit the metadata of the files.
      On the other hand, WebP is a very optimized format, for example in the support of ComfyUI PNG to WebP , Watch this YouTube video that shows the space saving
  • TIFF (Tagged Image File Format):
    • Usage: Mainly used for printing and scanning documents.
    • Benefits: High image quality, Supports lossless compression.
    • Cons: Large files.

Vector Image Formats

  • SVG (Scalable Vector Graphics):
    • Usage: Perfect for logos, Illustrations and graphics that require scaling without losing quality.
    • Benefits: Infinitely expandable images without losing quality, Lightweight files.
    • Cons: Not suitable for photorealistic photos or images.

Choosing the right format:

The choice of image format depends on the use you want to make of it.

  • For the photos: JPEG or WebP are usually the best choices.
  • For logos and graphics: PNG or SVG are preferable.
  • For the animations: GIF is the standard format, but WebP is gaining popularity.
  • For printing: TIFF is often recommended.

I hope this will help you see more clearly ! and don't hesitate to share your experience with me■