Convert JPG to GIF

Turn JPG photos into GIF. Same size, turned upright by the orientation tag and reduced to a palette of 256 colors with dithering, so photos look grainy.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop JPG files on the dialor turn it to pick what to do

A JPG photo as a GIF.Same size, upright, and cut down to 256 colors.

  1. What you get

    A GIF with the same width and height as your JPG. If the JPG carries an orientation tag, the picture is turned upright first.

    The result is one file.

  2. What changes

    GIF holds only 256 colors per frame, so the photo is reduced to a palette of 256 colors with dithering. Photos look grainy as a result.

  3. Options

    Set Max width or Max height to shrink a large picture. The shape stays the same, and a picture smaller than the limit is not enlarged.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  4. When it stops

    A file that cannot be parsed ends with input_corrupted. For going the other way, see GIF to JPG.

JPG and GIF.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images
To · GIF

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

Extensions
.gif
MIME type
image/gif
Kind
Images

In your code.The same JPG to GIF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.jpg photo.gif
$ cv convert photo.jpg photo.gif

Questions.What people ask about JPG to GIF.

01OF 04

Yes. The width and height stay the same unless you set Max width or Max height.

GIF allows 256 colors, so the photo is reduced to a palette with dithering. That gives the grainy look.

Yes. The result is turned upright by the orientation tag. Rotate can then turn it further.

Yes. Turn on Grayscale and colors become shades of gray.

More conversions.Other ways in and out of JPG and GIF.