Function iced_core::window::icon::from_rgba

source ยท
pub fn from_rgba(rgba: Vec<u8>, width: u32, height: u32) -> Result<Icon, Error>
Expand description

Builds an Icon from its RGBA pixels in the sRGB color space.