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
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.
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 with a default parameter applied at the source, you can workaround this issue by either:
- Serving those assets without using imgix or
- Use a separate source in order to serve those assets