Debian Codegraph @

docs/content/en/quick-reference/glossary/processable-image.md

raw
1 ---
2 title: processable image
3 ---
4
5 A _processable image_ is an image file characterized by one of the following [_media types_](g):
6
7 - `image/avif`
8 - `image/bmp`
9 - `image/gif`
10 - `image/jpeg`
11 - `image/png`
12 - `image/tiff`
13 - `image/webp`
14
15 Hugo can decode and encode these image formats, allowing you to use any of the [resource methods][] applicable to images such as `Width`, `Height`, `Crop`, `Fill`, `Fit`, `Filter`, `Process`, `Resize`, etc.
16
17 Use the [`reflect.IsImageResourceProcessable`][] function to determine if an image can be processed.
18
19 [`reflect.IsImageResourceProcessable`]: /functions/reflect/isimageresourceprocessable/
20 [resource methods]: /methods/resource/