Fail:SmallFullColourGIF.gif

SmallFullColourGIF.gif(210 × 210 pikslit, faili suurus: 53 KB, MIME tüüp: image/gif, korduv, 20 kaadrit, 12 s)

Lühikirjeldus

Kirjeldus
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.
Kuupäev
Allikas Üleslaadija oma töö
Autor GDallimore
Teised versioonid

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.

Litsents

Autoriõiguse omanikuna avaldan selle teose järgmise litsentsi all:
w:et:Creative Commons
omistamine sarnaselt jagamine
See fail kuulub jurisdiktsiooniga sidumata Creative Commonsi litsentsi "Autorile viitamine + jagamine samadel tingimustel 3.0" alla.
Tohid:
  • jagada – teost kopeerida, levitada ja edastada
  • kohandada – valmistada muudetud teoseid
Järgmistel tingimustel:
  • omistamine – Pead materjali sobival viisil autorile omistama, tooma ära litsentsi lingi ja märkima ära, kas on tehtud muudatusi. Sobib, kui teed seda mõistlikul viisil, kuid seejuures ei tohi jääda muljet, et litsentsiandja tõstab esile sind või seda, et sina materjali kasutad.
  • sarnaselt jagamine – Kui töötled, kujundad ümber või arendad materjali edasi, siis pead oma töö levitamiseks kasutama sama litsentsi, mille all on algupärand, või ühilduvat litsentsi.

Pealdised

Lisa üherealine seletus sellest, mida fail esitab

Selles failis kujutatud üksused

kujutab

MIME type inglise

image/gif

Faili ajalugu

Klõpsa kuupäeva ja kellaaega, et näha sel ajahetkel kasutusel olnud failiversiooni.

Kuupäev/kellaaegPisipiltMõõtmedKasutajaKommentaar
viimane1. juuni 2023, kell 21:29Pisipilt versioonist seisuga 1. juuni 2023, kell 21:29210 × 210 (53 KB)CreaZyp154Reverted to previous version as the FileOptimizer broke the demonstration
14. mai 2023, kell 22:20Pisipilt versioonist seisuga 14. mai 2023, kell 22:20210 × 210 (22 KB)PhreneticcReduced file weight with FileOptimizer in lossless compression mode.
25. veebruar 2017, kell 20:36Pisipilt versioonist seisuga 25. veebruar 2017, kell 20:36210 × 210 (53 KB)GnashOptimized
19. juuli 2013, kell 05:36Pisipilt versioonist seisuga 19. juuli 2013, kell 05:36210 × 210 (196 KB)GDallimoreUser created page with UploadWizard

Seda faili kasutab järgmine lehekülg:

Globaalne failikasutus

Järgmised muud vikid kasutavad seda faili: