Revert "set correct image size after the transformation"

Authored by mqualmann on May 31 2020, 5:11 PM.