skia_safe::codec::pixmap_utils

Function swap_width_height

Source
pub fn swap_width_height(info: &ImageInfo) -> ImageInfo
Expand description

Return a copy of the provided ImageInfo with the width and height swapped.