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

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