I am using scripting in Photoshop to process jpg files that are uploaded through a website. I occasionally get images that are rotated differently when you open them in Photoshop vs. Windows Previewer (or any other basic graphics program). And today I just came across one that was rotated 90 degrees and mirrored horizontally when you open it with Photoshop. This throws off the scripting b/c the image is not the expected size and orientation.
Is there a setting in Photoshop preferences to stop it from automatically rotating and mirroring these images? Or a way to strip this extra data that Photoshop is reading?
I am using Photoshop CS4 and in preferences, under Camera Raw Settings, I have it set to "disable JPEG support".