StreamCdnImageResizing
Deprecated
Configure image resizing via a StreamCdnImageResizer — the default StreamCdnMaxPixelsImageResizer caps images to 2MP, or provide your own StreamCdnImageResizer. This percentage-based config is only honored while enabled and will be removed in the next major version.
Used to adjust the request to resize images hosted on Stream's CDN.
Note: This only affects images hosted on Stream's CDN which contain original width (ow) and height (oh) query parameters.
Parameters
Enables or disables image resizing.
The percentage of the original image width the resized image width will be.
The percentage of the original image height the resized image height will be.
Sets the image resizing mode. If null, the default mode used by the CDN is StreamCdnResizeImageMode.CLIP.
Sets the image crop mode. If null, the default mode used by the CDN is StreamCdnCropImageMode.CENTER.