If an image is transformed, the instructions tell how get the orientation in the PDF from the extracted image. Images on page 1: Image 1: x=0.0 y=0.0 width=100.0 height=100.0 alpha=0.0 beta=0.0 Image is upright. Images on page 2: Image 1: x=100.0 y=0.0 width=100.0 height=100.0 alpha=180.0 beta=180.0 Image is rotated and mirrored on x axis. Mirror image on x axis and rotate by 180 degrees. Images on page 3: Image 1: x=100.0 y=100.0 width=100.0 height=100.0 alpha=180.0 beta=0.0 Image is rotated. Rotate image by 180 degrees. Images on page 4: Image 1: x=0.0 y=100.0 width=100.0 height=100.0 alpha=0.0 beta=180.0 Image is mirrored on x axis. Mirror image on x axis. Images on page 5: Image 1: x=100.0 y=100.0 width=100.0 height=100.0 alpha=-90.0 beta=180.0 Image is rotated and mirrored on x axis. Mirror image on x axis and rotate clockwise by 90 degrees. Images on page 6: Image 1: x=0.0 y=100.0 width=100.0 height=100.0 alpha=-90.0 beta=0.0 Image is rotated. Rotate image clockwise by 90 degrees. Images on page 7: Image 1: x=0.0 y=0.0 width=100.0 height=100.0 alpha=90.0 beta=180.0 Image is rotated and mirrored on x axis. Mirror image on x axis and rotate counterclockwise by 90 degrees. Images on page 8: Image 1: x=100.0 y=0.0 width=100.0 height=100.0 alpha=90.0 beta=0.0 Image is rotated. Rotate image counterclockwise by 90 degrees.