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.
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.
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.
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.
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.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 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 - 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 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
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
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.
$ cv convert photo.jpg photo.gif$ cv convert photo.jpg photo.gifQuestions.What people ask about JPG to GIF.
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.