画像APIとは
最終更新日:2023年08月25日
microCMSには、画像の編集を行うことができる、画像APIという機能が備わっています。
アップロード時に編集を行わなくても、アップロード後の画像URLに対してパラメータを付与することで、様々な編集を行うことが可能です。
画像処理には、imgixのRendering APIを利用しています。
こちらのドキュメントに記載しているパラメータ以外にも、利用可能なパラメータがございます。
APIに関して詳しく知りたい方は、imgixの公式リファレンスをご覧ください。
Information
?auto=format
については対応しておりません。あらかじめご了承ください。
![](https://ix-www.imgix.net/imgix%20OG%20Image%20Formats%20guide.png)
- A Developer’s Guide to Understanding Image Types | Best Practices | Getting Started
- https://docs.imgix.com/best-practices/guide-to-image-types#which-image-formats-can-be-served-with-imgix
Information
- SVG形式については、画像APIをご利用いただけません。
![](https://document.microcms.io/ogp.png)
- 画像サイズ
- https://document.microcms.io/image-api/size
![](https://document.microcms.io/ogp.png)
- 品質
- https://document.microcms.io/image-api/quality
![](https://document.microcms.io/ogp.png)
- 解像度・画面サイズ
- https://document.microcms.io/image-api/dpr
![](https://document.microcms.io/ogp.png)
- フォーマット
- https://document.microcms.io/image-api/format
![](https://document.microcms.io/ogp.png)
- テキスト
- https://document.microcms.io/image-api/text
![](https://document.microcms.io/ogp.png)
- 枠線
- https://document.microcms.io/image-api/border