图像优化 [英] Image Optimization

查看:70
本文介绍了图像优化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道像使用yslow smushit将图像(gif或jpeg)转换为png8会提高网站性能的速度吗?将在ie6中工作?

I want to know like converting an image (gif or jpeg) to png8 using yslow smushit will increase the speed of the site performance? Will that work in ie6?

推荐答案

这取决于图像。 PNG适合具有颜色块的图像,而jpeg适用于照片类型图像。 Smushit会删除任何无关的字节,减少文件大小,但如果你有多个小图像在单独的文件,那么你应该考虑精简它们,以减少加载您的页面所需的连接数。

It depends on the image. PNG is suited to images with blocks of color, whereas jpeg is good for photo type images. Smushit will shave off any extraneous bytes, reducing the filesize, but if you have many small images in separate files, then you should consider spriting them in order to reduce the number of connections required to load your page.

减少文件大小将有所帮助,但减少文件数量最有帮助(通常)。

Reducing the filesize will help, but reducing the number of files helps the most (typically).

这篇关于图像优化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆