add rotate image python version
add rotate image python version