Module photon_rs::transform

source ·
Expand description

Image transformations, ie: scale, crop, resize, etc.,

Enums

Functions

Flip an image horizontally.
Flip an image vertically.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply uniform padding around the PhotonImage A padded PhotonImage is returned.
Resample the PhotonImage.
Rotate the PhotonImage on an arbitrary angle A rotated PhotonImage is returned.
Resize image using seam carver. Resize only if new dimensions are smaller, than original image.
Compression
Crop an image.
Flip an image horizontally.
Flip an image vertically.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
Apply uniform padding around the PhotonImage A padded PhotonImage is returned.
Resample the PhotonImage.
Resize an image.
Rotate the PhotonImage on an arbitrary angle A rotated PhotonImage is returned.
Resize image using seam carver. Resize only if new dimensions are smaller, than original image.