Jump to content

File:SmallFullColourGIF.gif

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

SmallFullColourGIF.gif (210 × 210 pixels, file size: 53 KB, MIME type: image/gif, looped, 20 frames, 12 s)

Summary

Description
English: Important note when using this image in Wikipedia articles: do not use thumbnails or force a change in the size of the image! The Wikimedia thumbnailing processes hide the increase in colour depth.

A typical GIF file is limited to 256 colours. This limit can be overcome by taking advantage of the fact that a single GIF image may be formed from many frames, each frame having its own local palette of 256 colours, including 1 transparent "colour". These frames are most often used in animations by displaying them one after the other with an appropriate time delay. Instead, each frame can contain a portion of the full image having no more than 255 colours with the rest of the frame being transparent. If all the frames are displayed simultaneously (i.e., with a delay time between each of zero) a full colour image results.

The original 3,483 colour image
The animation first shows a 255 colour image generated from the full colour image shown to the right. Reducing the number of colours from the 3,483 in the original results in obvious transitions between regions of different colours. The image is then split into 9 smaller blocks. For each of those blocks, a separate frame is created from the original full colour image containing just the content of that block with the rest of the frame being a transparent colour. A local palette of up to 255 colours is generated for each block to recreate that portion of the original image as accurately as possible. All 9 frames are then displayed together to create the final image. The improvement in image quality is obvious and the resulting image has 1859 colours. Further improvements in image quality could be obtained by selecting the blocks more carefully such that each block has no more than 255 colours in the original image; the blocks also need not be contiguous regions. Alternatively, smaller blocks could be used: a 16x16 block has 256 pixels so would contain at most that many colours and would be a suitable choice for all but the most complex of images.

In practice, this technique for displaying full colour GIFs is rarely used due to its complexity and the existence of other file formats which can more easily display more than 256 colours. There are also technical limitations in the computer programs commonly available for both creating and displaying GIF files which make it unfeasible. For example, to reduce file sizes, many GIF creation programs generate a single global palette of colours across all frames of an animation rather than separate local palettes for each individual frame. Also, most programs for displaying GIFs, such as web browsers, have a minimum delay time that can exist between animation frames. Consequently, rather than all of the frames being displayed simultaneously, the image is built up gradually as each frame appears in sequence.

The delay between each frame of the animation is at least 0.1 seconds to ensure that all common desktop web browsers are able to display it correctly. Other display programs, such as those on mobile devices, may not render the animation correctly and thumbnails of the animation generated by Wikimedia apply a global palette across the whole animation, hiding the increase in colour depth. If it can be used at full size, or if you consider it acceptable to tell readers to click through to the full-size image, FullColourGIF is a larger and clearer version of this animation.

Each frame of the animation was created using Corel PaintShop Pro X5. The animation itself was created using Zoner GIF Animator 5, one of a limited number of programs capable of generating a separate local palette for each frame of an animation.
Date
Source Own work
Author GDallimore
Other versions

FullColourGIF

Above is also a 512x512 version of this animation which shows the technique more clearly. However, due to the way in which Wikipedia renders thumbnails, this larger file does not illustrate the improvement in image quality by increasing the number of colours unless it is used in an article at full size.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19 July 2013

image/gif

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:29, 1 June 2023Thumbnail for version as of 18:29, 1 June 2023210 × 210 (53 KB)CreaZyp154Reverted to previous version as the FileOptimizer broke the demonstration
19:20, 14 May 2023Thumbnail for version as of 19:20, 14 May 2023210 × 210 (22 KB)PhreneticcReduced file weight with FileOptimizer in lossless compression mode.
17:36, 25 February 2017Thumbnail for version as of 17:36, 25 February 2017210 × 210 (53 KB)GnashOptimized
02:36, 19 July 2013Thumbnail for version as of 02:36, 19 July 2013210 × 210 (196 KB)GDallimoreUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file: