media09
media09

Reputation: 23

what are the algorithm differences between JPEG and GIF?

I am currently doing an assigment and cannot find the answer to this question..as Algorithm is supposed to mean (solving problems as such)

Upvotes: 1

Views: 293

Answers (3)

ufk
ufk

Reputation: 32144

i found a very good web site that explains about the difference between gif and jpeg plus it shows image examples of several scenarios. enjoy.

http://www.siriusweb.com/tutorials/gifvsjpg/

Upvotes: 1

Mark Byers
Mark Byers

Reputation: 839184

Some info is here.

Basically, JPEG is good for real life images, and GIF is good for computer generated images with solid areas or when you need some text to not be blurred (JPEG is lossy, GIF is not). There are many other differences too.

See also Wikipedia:

GIF

JPEG

For bonus points in your assignment you might want to mention other commonly used standards such as PNG.

Upvotes: 2

Philippe Leybaert
Philippe Leybaert

Reputation: 171914

The main difference is that JPEG uses a lossy algorithm, and GIF uses a losless algorithm (LZW). In addition, GIF is limited to 256 colors, while JPEG is truecolor (8 bits per color per pixel)

Upvotes: 4

Related Questions