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:
- PNG
- GIF *
- JPG
- BMP
- WEBP
- JPEG2000
- AVIF
- HEIF/HEIC
- SVG **
- TIF***
* 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 imageNote: 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
- PNG
- GIF
- JPG
- BMP
- WEBP
- JPEG2000
- SVG
- MP4
- JPEG XR
- AVIF
- JPEG XL
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.
Non-Image Content
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
Many frameworks or Content Management Systems (CMS) may store JavaScript-, font- or CSS files at the origin along with your images by default. The Delivery Address will also serve JavaScript and CSS when mapped to the location serving images in those situations.
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.
Comments
0 comments
Article is closed for comments.