Rotates the image using the given interpolation order (see \ref imProcessResize). \n
* Images must be of the same type. Target can have any size, including the original size. \n
* The rotation is relative to the reference point. But the result can be shifted to the origin. \n
* Returns zero if the counter aborted.
*
* \verbatim im.ProcessRotateRef(src_image: imImage, dst_image: imImage, cos0: number, sin0: number, x: number, y: number, to_origin: boolean, order: number) -> counter: boolean [in Lua 5] \endverbatim
* \verbatim im.ProcessRotateRefNew(image: imImage, cos0: number, sin0: number, x: number, y: number, to_origin: boolean[, order]: number) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim
* \ingroup geom
Rotates the image using the given interpolation order (see \ref imProcessResize). \n * Images must be of the same type. Target can have any size, including the original size. \n * The rotation is relative to the reference point. But the result can be shifted to the origin. \n * Returns zero if the counter aborted. * * \verbatim im.ProcessRotateRef(src_image: imImage, dst_image: imImage, cos0: number, sin0: number, x: number, y: number, to_origin: boolean, order: number) -> counter: boolean [in Lua 5] \endverbatim * \verbatim im.ProcessRotateRefNew(image: imImage, cos0: number, sin0: number, x: number, y: number, to_origin: boolean[, order]: number) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim * \ingroup geom