StreamCdnMaxPixelsImageResizer
constructor(maxImagePixels: Long = StreamCdnImageResizer.DEFAULT_MAX_IMAGE_PIXELS, resizeMode: StreamCdnResizeImageMode? = null, cropMode: StreamCdnCropImageMode? = null, cdnHost: String? = null)
Parameters
maxImagePixels
The total-pixel budget (width × height). Must be positive.
resizeMode
The Stream CDN resize mode, or null for the CDN default.
cropMode
The Stream CDN crop mode, or null for the CDN default.
cdnHost
An optional custom Stream CDN host to resize in addition to the default Stream CDN hosts, for integrations serving Stream images from a proxied or custom domain. Mirrors iOS' StreamCDNRequester(cdnHost:).