Function zng::image::img_limits

source ยท
pub fn img_limits(
    child: impl UiNode,
    limits: impl IntoVar<Option<ImageLimits>>,
) -> impl UiNode
Expand description

P Sets custom image load and decode limits.

If not set or set to None the IMAGES.limits is used.

See also img_downscale for a way to still display unexpected large images.