English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

5 answers

Basically, how does compression work. It is build on the fact that there is usually some structure in files. The first byte would in a graphic file would be specified as a single bit, then every other byte in the file is stored as a difference from that bit. In that way you can reduce some of the space used in the file and get compression.

The other way that graphic files are compresses is to use an index into a color table (the index is smaller) rather than use the actual colors. This is sort of like use paint by number to represent a painting rather than the original (gif and png can use this technique)

The third option is to reduce the number of colors in the picture and make an approximation of the original image. jpg does this so that not all of the possible colors are added to the graphic

2007-03-06 15:10:39 · answer #1 · answered by Math Guy 4 · 0 0

Usually, the program will read in the image from the source, loading the compressed image into memory. Then, decoding the compressed image in memory, then, for instance, draw the image to the screen.

2007-03-06 23:18:58 · answer #2 · answered by JackBauer 2 · 0 0

Some pictures are bigger than others. And some pictures have more colors than others. Go to http://www.spinwave.com/crunchers.html
to make a gif or jpg smaller by reducing the number of colors.

2007-03-06 23:27:36 · answer #3 · answered by Uncle Bob 5 · 0 0

how about a little more information? what language are you using? what kind of image?

2007-03-06 23:09:28 · answer #4 · answered by shawntolidano 3 · 0 0

if you are in the process of learning english then thats okay, but if english is your only language then i consider you illiterate. youy question is to incoherent to answer. in other words, it doesn't make sense.

2007-03-06 23:10:13 · answer #5 · answered by josiah k 3 · 0 0

fedest.com, questions and answers