Extendscript question - getting orientation info for copied images
Hi everyone, my first post in this community! I'm looking for a bit of help with scripting to automate copying files please.
I've been writing a simple script to copy selected thumbnails from bridge to a different folder. I'm completely new to javascript so feeling my way through - one problem that I've run into is that when the call is made to create the new bitmap file, the orientation information is lost so portrait images appear as landscape after they're copied to the new location.
Any suggestions as to how I can get the orientation information from the source file (the one that's been selected) prior to creating the new file? If I can get that then I can check if the newly created bitmap needs to be rotated but I can't work out how to access it. Here's what I've got so far:
