set correct image size after the transformation

Authored by mqualmann on May 31 2020, 4:34 PM.