ImageEngine supports all common image formats as input and output. It should be noted that the format, size, and quality of the origin images may affect the visual quality of the output image. It is recommended to use jpeg or png as origin formats.
Origin Image formats
Your origin image can be in any of the following formats:
- GIF *
- SVG **
* Rotation of animated GIFs is not supported.
** SVG files are not resized or converted, just optimized and compressed.
*** Any transparency in TIF images may not be maintained in the optimized image
Note: It is good practice to publish images in the highest resolution that you want to serve (ex: for high DPI devices). However, It is not recommended to use origin images much larger than 5 MB, as their size may slow down the caching speed..
Output Image Formats
- JPEG XR
ImageEngine will automatically select the format which serves the best visual quality at the lowest byte size. You can override this behavior using directives or custom settings.
Note: AVIF is presently available by directive only.
Conversion of GIF to MP4 video files
ImageEngine's output format auto-detection logic prefers WebP (animated) over MP4, if WebP is supported by the device.
Additionally, there are also some edge cases where we won't serve MP4 such as the GIF containing transparency.
You can safely serve “non-image files” through ImageEngine too!
Even if ImageEngine is built with image delivery in mind, ImageEngine supports any kind of content.
You may also create special settings for non-image content. For example, it may make sense to increase cache TTL.
If you plan to serve the entire website through ImageEngine, please reach out to our support team to plan the launch.
Fonts, JS, and CSS
Optimization of non-image content
ImageEngine will do its best to optimize also text-based content. Any unoptimized non-image content will be checked for compatibility, and ImageEngine applies either Gzip or Brotli compression, dependent on browser support.
Article is closed for comments.