Function libvips::ops::rot

source ·
pub fn rot(inp: &VipsImage, angle: Angle) -> Result<VipsImage>
Expand description

VipsRot (rot), rotate an image inp: &VipsImage -> Input image angle: Angle -> Angle to rotate image D0 -> VIPS_ANGLE_D0 = 0 D90 -> VIPS_ANGLE_D90 = 1 [DEFAULT] D180 -> VIPS_ANGLE_D180 = 2 D270 -> VIPS_ANGLE_D270 = 3 Last -> VIPS_ANGLE_LAST = 4 returns VipsImage - Output image