Is there a way to open a PDF/AI vector file in photoshop without distortion?
I'm testing a script to open Illustrator files in Photoshop but I seem to be encountering a bit of an issue with scaling. If I open an AI file that is equal to/exceeds the 32000px maximum width Photoshop allows, it distorts vertically as the height doesn't exceed the 32000px bounds. If the file is simply opened with photoshop, and a dimension exceeds 32000px, the file will cap out at the width, but still constrain proportions so that the height doesn't distort. I'm looking at the scripting reference for PDFOpenOptions, and it mentions that height, width and constrainProportions settings are all deprecated as of CC 2015. Is there a way to continue to constrain the proportions within scripting properties? If not, it should be some fairly easy math to open a file twice, once at a small dimension to find out what the proportions are, and test against the width or height if one equals 32000px.
