Expand description
Image transformations, ie: scale, crop, resize, etc.,
Enums§
Functions§
- compress
- Compression
- crop
- Crop an image.
- fliph
- Flip an image horizontally.
- flipv
- Flip an image vertically.
- padding_
bottom - Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
- padding_
left - Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
- padding_
right - Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
- padding_
top - Apply padding on the left side of the PhotonImage A padded PhotonImage is returned.
- padding_
uniform - Apply uniform padding around the PhotonImage A padded PhotonImage is returned.
- resample
- Resample the PhotonImage.
- resize
- Resize an image.
- rotate
- Rotate the PhotonImage on an arbitrary angle A rotated PhotonImage is returned.
- seam_
carve - Resize image using seam carver. Resize only if new dimensions are smaller, than original image.
- shearx
- Shear the image along the X axis. A sheared PhotonImage is returned.
- sheary
- Shear the image along the Y axis. A sheared PhotonImage is returned.