pub fn resize(
photon_img: &PhotonImage,
width: u32,
height: u32,
sampling_filter: SamplingFilter,
) -> PhotonImageExpand description
Resize an image.
ยงArguments
img- A PhotonImage.width- New width.height- New height.sampling_filter- Nearest = 1, Triangle = 2, CatmullRom = 3, Gaussian = 4, Lanczos3 = 5