avoid unnecessary rescale
added mixed landscape/portrait example