Package-level declarations
Types
Strategy for resizing Stream CDN hosted image URLs before they are loaded, to avoid downloading full-resolution originals. It is applied to image attachment URLs by the Compose and XML UI kits and configured via ChatTheme(streamCdnImageResizer = …) / ChatUI.streamCdnImageResizer.
Used to adjust the request to resize images hosted on Stream's CDN.
Caps images to maxImagePixels total pixels (default 2MP), preserving aspect ratio and never upscaling.
Properties
Functions
Applies image resizing following the resolver precedence: if the legacy streamCdnImageResizing is explicitly enabled its exact percentage behavior is honored, otherwise the active streamCdnImageResizer is applied (defaulting to a 2MP cap). Disabling resizing is done by setting the resizer to NoOpStreamCdnImageResizer.
A convenience method which applies Stream CDN image resizing if it's enabled and applicable. It doesn't hold any special value other than minimizing repetition.