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
falseand no copy is made. - swap_
width_ height - Return a copy of the provided ImageInfo with the width and height swapped.