# 可处理图像（processable image）
> 媒体类型属于 Hugo 可解码、可编码范围的图像文件。
- 官方英文原文：https://gohugo.io/quick-reference/glossary/processable-image/
- 本页规范地址：https://hugozh.cn/quick-reference/glossary/processable-image/
- 最近更新：2026-10-02
- 最后提交：912b1d3 chore(site): 添加 static/CNAME（hugozh.cn），供 GitHub Pages 等平台绑定自定义域名
- 站点：Hugo 中文文档（https://hugozh.cn/）· 社区维护的非官方中文翻译，如有出入以官方英文原文为准

---
可处理图像（processable image）是媒体类型属于以下 [media types](g) 之一的图像文件：

- `image/avif`
- `image/bmp`
- `image/gif`
- `image/jpeg`
- `image/png`
- `image/tiff`
- `image/webp`

Hugo 可以解码和编码这些图像格式，因此你可以使用任何适用于图像的[资源方法][]，例如 `Width`、`Height`、`Crop`、`Fill`、`Fit`、`Filter`、`Process`、`Resize` 等。

使用 [`reflect.IsImageResourceProcessable`][] 函数判断图像是否可以被处理。

[`reflect.IsImageResourceProcessable`]: /functions/reflect/isimageresourceprocessable/
[资源方法]: /methods/resource/

