Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much memory can be saved on making all the icon pics required on putting in a png format?

Sites like facebook,google plus have there whole images in one picture how many bytes of memory can be saved using this method

enter image description here

enter image description here

like image 211
madhu131313 Avatar asked Dec 21 '25 11:12

madhu131313


1 Answers

You are not saving any memory. You are saving bandwidth because you are making fewer HTTP requests to the server.

As pointed out by @iccthedral in the comments section you are actually saving bytes because you now have a single image => the total amount of saved bytes = numberOfPictures * sizeof(pngHeader).

like image 170
Darin Dimitrov Avatar answered Dec 23 '25 09:12

Darin Dimitrov