[−][src]Function libvips::ops::round
pub fn round(inp: &VipsImage, round: OperationRound) -> Result<VipsImage>
VipsRound (round), perform a round function on an image
inp: &VipsImage
-> Input image
round: OperationRound
-> rounding operation to perform
Rint
-> VIPS_OPERATION_ROUND_RINT = 0 [DEFAULT]
Ceil
-> VIPS_OPERATION_ROUND_CEIL = 1
Floor
-> VIPS_OPERATION_ROUND_FLOOR = 2
Last
-> VIPS_OPERATION_ROUND_LAST = 3
returns VipsImage
- Output image