# 06.图片格式-WebP

* Google出品，Android原生支持，iOS需要单独适配如SD和Kinfisher
* 基于VP8编码
* 比JPEG小40+
* 有损 无损都有
* PNG转
  * PNG 转 WebP 的压缩率要高于 PNG 原图压缩率，同样支持有损与无损压缩
  * 转换后的 WebP 体积大幅减少，图片质量也得到保障（同时肉眼几乎无法看出差异）
  * 转换后的 WebP 支持 Alpha 透明和 24-bit 颜色数，不存在 PNG8 色彩不够丰富和在浏览器中可能会出现毛边的问题
* JPEG转效果更佳


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ryukiedev.gitbook.io/wiki/ios/you-hua/06.-tu-pian-ge-shi-webp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
