Вопрос

Can someone with experience in website design/development, explain the method Google, Microsoft, and other website are using to make these high res photos backgrounds in their webpages while keeping the file size very small.

here are some examples:

https://plus.google.com/+Gmail/posts

http://www.xbox.com/en-US/#fbid=FrRSDRhcxBm

Это было полезно?

Решение

Here are some free online services you can use, for png and jpeg respectively:

In addition, Google also promotes the use of the .webp format which creates smaller field, although it isn't fully supported across all browsers.

Другие советы

I'm not sure if were' talking about the same images as these pages are personalized and change often, but this Google's image is a 200KB PNG which can be compressed down to 72KB with ImageAlpha/pngquant.

For JPEGs check out JPEGMini.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top