flip

expect fun flip(horizontal: Boolean, vertical: Boolean): LiteRtImage

Returns a flipped copy of this image.

Return

A new LiteRtImage flipped as specified.

Parameters

horizontal

Whether to flip the image horizontally.

vertical

Whether to flip the image vertically.