Copy link to clipboard
Copied
When you bring up the "Save As" dialog box in Photoshop, it gives you the option to save the Photoshop document as a smaller file size. So let's say my original Photoshop file is 4000 x 4000 px. I can decide to save it as 25% the size, or as a 1000 x 1000 px JPEG.
Is there a way to get the same functional equivalent via the jpgSaveOptions in .jsx scripting code?
Presently here is my code for this section:
Copy link to clipboard
Copied
When you bring up the "Save As" dialog box in Photoshop, it gives you the option to save the Photoshop document as a smaller file size.
I fail to see that option in the Save As-dialog.
Could you elaborate and post screenshots to illustrate?
Also note that I could just resize the original Photoshop document itself. Since it contains a Smart Object, for whatever reason, I've found that when I batch-replace the Smart Objects with JPEGs at this smaller document size? It creates all kinds of weird image artifacts and distortions that you for some reason don't see when you FIRST save it at the full original size, then resize AFTER the fact by reducing the JPEG image.
What is this supposed to describe?
If there was no Smart Object how would you replace the Smart Object’s content?
What artefacts and distorstions?
Pelase post meaningful screenshots including all pertinent Panels.
Copy link to clipboard
Copied
I meant Export As, not Save As.
Here's what I ended up doing: I just took the Photoshop Smart Object documents used in this workflow and downsized them to 1000x1000px (the final desired image size anyway). I then just applied 6/12 for the image quality settings to compress the image to get a smaller file size with a marginal visual quality reduction. I may have misremembered some earlier problems I was having with image size + distortions related to Smart Objects, because when testing the final JPEG images of the 1000x1000 vs the original 2000x2000 or 4000x4000, I saw no discernable differences in image quality.
Ended up modifying a few other parts of the script workflow as well, and it's almost 2x faster than the previous version.
Copy link to clipboard
Copied
Are you thinking of one of the different ways to save a JPEG - not Save As ?