Skip to main content

Module pixmap_utils

Module pixmap_utils 

Expand description

Utilities for working with the orientation of encoded images, e.g. applying an crate::EncodedOrigin to a crate::Pixmap.

Functions§

orient⚠
Copy the pixels in src into dst, applying the orientation transformations specified by origin. If the inputs are invalid, this returns false and no copy is made.
swap_width_height
Return a copy of the provided ImageInfo with the width and height swapped.