ConvertPicturesConvertConvert a photo

GIF format: why a photo as GIF looks posterised

Opens everywhere and still the format people mean by an animation, at the price of 256 colours per frame and transparency that is either on or off.

What it is

GIF dates from 1987. Each frame stores up to 256 colours from a palette, compressed without loss by LZW, and a file can hold many frames with a display time for each — which is why, decades later, it is still what people mean by an animated picture.

The palette is the catch. A photograph has hundreds of thousands of distinct colours; squeezed into 256, smooth areas break into visible steps (posterisation). Dithering scatters nearby palette colours to fake the missing ones, trading the steps for grain. Transparency is a single palette entry, so a pixel is either fully see-through or fully solid.

Where it opens

The rows below are about software a file will actually be handed to, not about a specification. A format is supported when the person you sent it to can open it.

WhereWhat happens
Every browserOpens and animates GIF, and has for decades.
Windows and macOS viewersOpen GIF with nothing installed; the built-in viewers play animations.
Chat appsAccept GIFs, though many turn an animated GIF into a short video when it is sent.
EmailDisplays in most clients; some desktop versions of Outlook show only the first frame of an animation.
PhotographsTechnically fine, practically poor: 256 colours band skies and skin, and the file is usually several times a JPEG's size.
Last read against vendor documentation on 31 October 2026. Reviewed quarterly; if that date has slipped, treat the rows above as history rather than fact.

What it costs to write

Browsers cannot write GIF from a page, so this site carries its own GIF writer: each frame gets a palette of up to 256 colours chosen by median cut, optional Floyd–Steinberg dithering, then LZW compression, all in a background worker. The page prints how long it took on your device.

Where it goes wrong

  • 256 colours per frame. A photograph bands; dithering hides the steps behind visible grain and makes the file larger.
  • Transparency is on or off per pixel, so soft edges against a transparent background turn jagged or keep a halo of the colour they were drawn on.
  • Animations grow fast: every frame is a full picture, compressed only with LZW. A few seconds of video as GIF can run to megabytes.
  • Browsers slow down very short frame delays (10 ms or less) to about 100 ms, so an animation meant to be fast can play slowly.

When this is the right answer

GIF is right when the place you are posting asks for a GIF — a reaction animation, a forum signature, an old content system — or for small flat graphics with few colours. For a still photograph it is the wrong format: JPEG or WebP is a fraction of the size and keeps every colour, and PNG keeps a graphic exactly.

To take frames out of a GIF, GIF to JPG on this site lists every frame and saves any of them. To make one, JPG to GIF writes a still or animated GIF on your device with the timing you choose.

Questions about GIF

Why does my photo look blotchy as a GIF?
A GIF frame can hold only 256 colours, so smooth gradients in a photo are rounded to a few steps. Dithering hides the steps with grain. JPEG or WebP keeps the photo's colours at a much smaller size.
Is GIF lossless?
Its compression is lossless, but the colour reduction to 256 is not. A picture that already has 256 colours or fewer survives exactly; a photograph does not.
Why are animated GIFs so large?
Every frame is stored as a full picture compressed with an old method (LZW). A video format stores only what changes between frames and is many times smaller, which is why chat apps often turn GIFs into short videos.
Do GIFs support transparency?
Yes, but only on or off per pixel. Soft edges against a transparent background become jagged or keep a halo. PNG and WebP hold smooth transparency.
How do I make a GIF from photos?
JPG to GIF on this site: drop the photos, order them, set the frame time and loop, and the GIF is written on your device.

Encoding happens on this machine; the file stays where it is.