欧美老熟肥妇ass_日本午夜影院美媚_六月丁香激情_福利视频网站_丰满少妇被猛烈进出69影院_扒开美女的粉嫩小泬视频_亚洲中文在线字幕_国产精品又爽又黄又刺激的视频_免费无码AAA片一_五月天在线另类小说

On this page

This rule is triggered when PageSpeed Insights detects that a picture on a Web page can be optimized to reduce its size without significantly affecting its visual effect.

Overview

Minimize the picture size to reduce the time users wait for resources to load. Formatting and compressing pictures properly can save a lot of data byte space. This saves time for users with slower network connections and costs for users with limited traffic packages.

Recommendations

You should perform basic and advanced optimizations for all pictures. Basic optimizations include cropping unnecessary areas, reducing color depth to the lowest acceptable level, removing picture comments, and saving pictures in the appropriate format. You can use any picture editing program (for example,GIMP). Advanced optimizations include further compression (lossless compression) of JPEG and PNG files.

Using the Picture Compression Tool

There are many tools available for further lossless compression of JPEG and PNG files without any impact on image quality. For JPEG files, we recommend that you use thejpegtranjpegoptim(Linux only; Use--strip-all選項(xiàng)運(yùn)行)。對(duì)于PNG文件,我們建議使用OptiPNGPNGOUT.

Choose the appropriate picture file format

您應(yīng)測(cè)試一下哪種格式最適合您的圖片,盡管我們?cè)谙旅嫱扑]了一些較高級(jí)別的格式:

  • PNG格式幾乎一直優(yōu)于GIF格式,盡管某些舊版瀏覽器只能為PNG格式提供部分支持。
  • Use the GIF format for smaller or simpler graphics (for example, graphics less than 10x10 pixels or graphics with a palette less than 3 colors) and pictures that contain animations.
  • 為所有攝影風(fēng)格的圖片使用JPG格式。
  • 請(qǐng)勿使用BMP格式或TIFF格式。

?

Except as other written, the content of this page is licensed under theCreative Commons Attribution 3.0 License, and code samples are licensed under theApache 2.0 License. For details, see our?Site Policies.