01-24-2005, 05:01 AM
Every image is actually a mathematical equation. A jpg contains 256 colors (more or fewer depending on the quality settings) and then the equation defines what color every pixel is.
The biggest difference in a gif and jpg is that the jpg stores all 256 colors, used or not. gif has what is called a "selective" palette. In that it only saves the colors that are used in it's image.
The biggest difference in a gif and jpg is that the jpg stores all 256 colors, used or not. gif has what is called a "selective" palette. In that it only saves the colors that are used in it's image.

