[JP] Rotating screenshots before processing based on their orientation