Web Image File Formats
   
Home: Graphic Academy
 
Graphics Books
 
Graphics File Formats
  Animation File Formats
Bitmap File Formats
CAD File Formats
Cursor File Formats
Font File Formats
Icon File Formats
Metafile File Formats
Prepress File Formats
Vector File Formats
Video File Formats
Web File Formats
More Graphics File Formats
 
Graphics Software
  Banner Design Software
CAD Software
Diagram Drawing Software
Illustration Software
Photo Editing Software
Video Conversion Software
More Graphics Software
 
Graphics Tutorials
 
  • Adobe Dreamweaver Tutorials
  • Adobe Photoshop Tutorials
  • AutoCAD Tutorials
  • How To Draw Tutorials
    Banner Design Tutorial
    Banner Display Tutorial
    Color Combinations Tutorial
    Color-Safe Conversion Tutorial
    eBook Covers Tutorial
    Favicon Tutorial
    GIF + Photo Tutorial
    Good Web Design
    Image Slice Tutorial
    Image Tiling Tutorial
    Imagemap Tutorial
    Photography Tutorial
    Prevent Copying Tutorial
    Screenshots Tutorial
    Should I Use Flash?
    Text to Images Tutorial
    Web Image File Formats
    More Graphics Tutorials
  •  
    Graphics Glossary

         
    GraphicsAcademy.com  >  Tutorials  >  Web Image File Formats

       

     

    How to Choose the Right Image File Format for Web Images

    There are numerous different file formats that can be used for storing images. However, as far as images for use in web pages, there are really just a few different file formats (plus some special cases) that you need to be concerned with.
    • JPEG:

      This format is optimized for use in storing photographs, and photographic-type images. It uses a lossy method of compression which discards some fine detail of the image, but allows large and detailed pictures to be stored in relatively small files. The loss of detail is not usually noticeable for photographic-type images, but makes the format unsuitable for images with sharp edges, large areas of solid continuous color, or cartoon-type images, and computer-drawn graphics.

      Finally, JPEG files can not contain transparency or animation, but they generally can be read by all web browsers (although there are some advanced variants of JPEG that may not be readable).

    • GIF:

      The GIF format was only originally created by Compuserve, Inc. (GIF is a trademark of Compuserve) for storing small images and animations, and actually first came into common use in the 1980s, even before the internet became widely used. The format uses a lossless compression method which can efficiently store computer-drawn graphics, cartoon-type images, but which is unsuitable for photographic type images.

      A major limitation of GIF is that it can store images with a maximum of 256 colors, which is far less than more video hardware allows.

      On the plus side, GIF is supported by all web browsers, includes a basic transparency feature, and can be used to efficiently store a sequence of images which can be shown as an animated (including a looped animation). These features have led to GIFs continuing popularity, and it is especially common to find GIFs used for banner advertisements.

    • PNG:

      The PNG format was originally created as a successor to GIF, and while it has become popular, it has not supplanted GIF. Like GIF, PNG uses a lossless compression method which can efficiently store computer-drawn graphics, cartoon-type images, but which is unsuitable for photographic type images.

      PNG supports a wide range of different color depths in keeping with modern hardware, and also has more advanced transparency features than GIF.

      PNG is today supported all recent web browsers, although some web browsers, particularly Microsoft's Internet Explorer, have struggled with limitations around some of PNG's more advanced features. Unlike GIF however, PNG does not support animations (there is an optional extension for this, but it is not in common use).

    • WebP:

      WebP is a relative new image format devised by Google. It supports both lossy and lossless compression, as well as many advanced features such as animation, alpha transparency, and tiling many WebP images to produce large composite images. At the time of writing, browser support is somewhat patchy, and you may have to use special techniques to make web pages containing WebP images display properly on all popular web browsers - so we can not unequivocally recommend this format - at present. However, if you need the extra features that WebP provides, it is worth looking at. Furthermore, it is quite likely that WebP will grow in important in future years due to Google backing the format.

    • ICO

      The ICO format has its origins in Microsoft Windows. It was originally used (and modern versions are still used) for storing icons - small graphic images used to represent programs and data. In the case of the web, the ICO format is used for FAVICON's - icons used to represent web sites. See How to make a FAVICON for instructions.

    Related Pages on this site:
    Related Books:



       
     
       
     
       
    Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

    Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

    Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

    Contact Us     Privacy     Terms Of Use     Advertising/Endorsements Disclosures

    Copyright © 2005-2020, Answers 2000 Limited

    In Association With Amazon.com
    Answers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
    In Association With Amazon.co.uk
    Answers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.
    As an Amazon Associate, our company earns from qualifying purchases. Amazon, the Amazon logo, Endless, and the Endless logo are trademarks of Amazon.com, Inc. or its affiliates.



    CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.
    CERTAIN CONTENT THAT APPEARS ON THIS SITE,COMES FROM AMAZON EU S.à r.l. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.

    All trademarks are property of their respective owners.
    All third party content and adverts are copyright of their respective owners.

    Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license. All such pictures are provided for viewing purposes only and are not to be saved or downloaded. All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service.