Issue #1551686 by mondrake, fietserwin, adci_contributor, ankitgarg, claudiu.cristea: Image rotate dimensions callback can calculate new dimensions for every angle.