debugging image processing for images in portrait mode