Thanks for your work and share! I am confused that, after rotate, the image size w*h will change to h*w, how to stack them together?