[−][src]Crate seamcarving
Content-preserving image resizing in rust
The main function of this crate is resize: it takes an image, and removes horizontal and vertical seams until it fits a given size.
Structs
Carvable | A structure that allows removing vertical seams of content from an image |
Carved | An image with some vertical seams carved. If you want to save this image or otherwise manipulate it, you can convert it to a ImageBuffer. |
Rotated | Represents an image with the x and y coordinates reversed. |
Functions
image_view_to_buffer | Converts GenericImageView to an ImageBuffer |
resize | Resizes an image to a lower width and height, using seam carving to avoid deforming the contents. |