mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-03-17 20:17:48 +02:00
Better image formats support docs
This commit is contained in:
parent
a1679e5e09
commit
c2ac0a6827
@ -24,6 +24,8 @@
|
|||||||
--sidebar-border-color: hsla(0,0%,100%,.4);
|
--sidebar-border-color: hsla(0,0%,100%,.4);
|
||||||
|
|
||||||
--copycode-background: var(--link-color);
|
--copycode-background: var(--link-color);
|
||||||
|
|
||||||
|
--table-row-even-background: var(--base-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-name-link img {
|
.app-name-link img {
|
||||||
|
@ -538,11 +538,7 @@ When using encoded source URL, you can specify the [extension](#extension) after
|
|||||||
|
|
||||||
### Extension
|
### Extension
|
||||||
|
|
||||||
Extension specifies the format of the resulting image. At the moment, imgproxy supports only `jpg`, `png`, `webp`, `gif`, `ico`, and `tiff`, them being the most popular and useful image formats.
|
Extension specifies the format of the resulting image. Read about image formats support [here](image_formats_support.md).
|
||||||
|
|
||||||
<img class="pro-badge" src="assets/pro.svg" alt="pro" /> Also you can use `mp4` extension to convert animated images to MP4.
|
|
||||||
|
|
||||||
**📝Note:** Read more about image formats support [here](image_formats_support.md).
|
|
||||||
|
|
||||||
The extension part can be omitted. In this case, imgproxy will use source image format as resulting one. If source image format is not supported as resulting, imgproxy will use `jpg`. You also can [enable WebP support detection](configuration.md#webp-support-detection) to use it as default resulting format when possible.
|
The extension part can be omitted. In this case, imgproxy will use source image format as resulting one. If source image format is not supported as resulting, imgproxy will use `jpg`. You also can [enable WebP support detection](configuration.md#webp-support-detection) to use it as default resulting format when possible.
|
||||||
|
|
||||||
|
@ -87,11 +87,7 @@ When using encoded source URL, you can specify the [extension](#extension) after
|
|||||||
|
|
||||||
### Extension
|
### Extension
|
||||||
|
|
||||||
Extension specifies the format of the resulting image. At the moment, imgproxy supports only `jpg`, `png`, `webp`, `gif`, `ico`, and `tiff`, them being the most popular and useful image formats.
|
Extension specifies the format of the resulting image. Read about image formats support [here](image_formats_support.md).
|
||||||
|
|
||||||
<img class="pro-badge" src="assets/pro.svg" alt="pro" /> Also you can use `mp4` extension to convert animated images to MP4.
|
|
||||||
|
|
||||||
**📝Note:** Read more about image formats support [here](image_formats_support.md).
|
|
||||||
|
|
||||||
The extension part can be omitted. In this case, imgproxy will use source image format as resulting one. If source image format is not supported as resulting, imgproxy will use `jpg`. You also can [enable WebP support detection](configuration.md#webp-support-detection) to use it as default resulting format when possible.
|
The extension part can be omitted. In this case, imgproxy will use source image format as resulting one. If source image format is not supported as resulting, imgproxy will use `jpg`. You also can [enable WebP support detection](configuration.md#webp-support-detection) to use it as default resulting format when possible.
|
||||||
|
|
||||||
|
@ -2,17 +2,20 @@
|
|||||||
|
|
||||||
At the moment, imgproxy supports only the most popular image formats:
|
At the moment, imgproxy supports only the most popular image formats:
|
||||||
|
|
||||||
* PNG;
|
| Format | Extension | Source | Result |
|
||||||
* JPEG;
|
| -------|-----------|--------|--------|
|
||||||
* WebP;
|
| PNG | `png` | Yes | Yes |
|
||||||
* GIF;
|
| JPEG | `jpg` | Yes | Yes |
|
||||||
* ICO;
|
| WebP | `webp` | Yes | Yes |
|
||||||
* SVG;
|
| GIF | `gif` | Yes | Yes |
|
||||||
* MP4 <img class="pro-badge" src="assets/pro.svg" alt="pro" />;
|
| ICO | `ico` | Yes | Yes |
|
||||||
* HEIC _(source only)_;
|
| SVG | `svg` | Yes | [See notes](#svg-support) |
|
||||||
* BMP;
|
| HEIC | `heic` | Yes | No |
|
||||||
* TIFF;
|
| BMP | `bmp` | Yes | Yes |
|
||||||
* PDF _(source only)_ <img class="pro-badge" src="assets/pro.svg" alt="pro" />.
|
| TIFF | `tiff` | Yes | Yes |
|
||||||
|
| PDF <img class="pro-badge" src="assets/pro.svg" alt="pro" /> | `pdf` | Yes | No |
|
||||||
|
| MP4 (h264) <img class="pro-badge" src="assets/pro.svg" alt="pro" /> | `mp4` | [See notes](#video-thumbnails-) | Yes |
|
||||||
|
| Other video formats <img class="pro-badge" src="assets/pro.svg" alt="pro" /> | | [See notes](#video-thumbnails-) | No |
|
||||||
|
|
||||||
## GIF support
|
## GIF support
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user