I'm writing a Photoshop script (in javascript) to save a copy of the document as a JPEG and I would like to save it with a smaller canvas than the photoshop document, without changing the document I'm in.
My current PS document is 3600x3600 at 300dpi. I would like the script to save two JPEG's, one at 2000x2000 at 300dpi and one at 1000x1000 at 72dpi, while keeping the original document at 3600x3600 at 300dpi.
Is this possible? As I hunt thru docs and forums, it looks like doing so requires changing the app.document, doing the outputs, then reverting the app.document to the original.