While most file types can be served through imgix, not all of them support imgix parameters.
For example, it's not possible to apply a `w=300` parameter on a `.js` file.
Supported input formats
imgix supports the following image formats as inputs into the service.
- *Will only work if the original image was created from an IOS device
- *Contact email@example.com if you would like SVGs enabled for your Sources
Supported output formats
We can output the following formats by using the FM parameter (see the fm parameter in Docs for more information: https://docs.imgix.com/apis/url/format/fm).
- JPEG XR
Serving other types of assets with imgix
- SVG — The SVG files must have a correct XML declaration at the top of the file to ensure that they pass through correctly and SVG as input must be turned off (it's off by default but can be turned on at your request)
Serving unsupported input formats with default parameters
When serving unsupported file types, it's important to not apply any parameters on the URL.
If you have a Source configured with default parameter(s), you can work around this issue by either:
- Serving those assets without using imgix or
- Use a separate Source in order to serve those assets