add rotate image

Signed-off-by: WanBin <ouyangwanbin@gmail.com>