Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum of parts (file size) greater then the whole?

Status
Not open for further replies.

basball

Technical User
Dec 18, 2002
192
US
How can a background image 75kb when sliced and exported now = 450kb? I'm loosing my mind.
 
The image compression algorithm takes into account different things. Pixels of the same color, proximity to one another, etc.
If you have a picture of a landscape for example, some mountains, a lake, trees, etc you are talking a lot of repetitive colors so the algorithm will do a good job compressing the informaion.
If you break down the image, the same algorithm will do the same job on all the pixels on your mini pictures, this may reduce or sometimes increase the zise of the overall picture depending again in color of pixels, proximity, frecuency etc.

I run a test, my initial image was a night sky picture mostly black. Total size 54K, when sliced randomly all the small pieces made 136K.
When sliced into equal sections the overall size was still 116K, the pieces where Black was the dominant color were the smallest.


grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
-----------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top