Revert "Trimmed the branch to only the image_rotate sub directory"

This reverts commit ec3d3cb16c81764f2cc4e2acc7f5a74b509ff7cb.
Rebase from 'upstream' @ version '1.9.12'
Trimmed the branch to only the image_rotate sub directory