Applescript/Photoshop/"Save for web…" Question

R
Posted By
Roberto
Aug 9, 2004
Views
847
Replies
1
Status
Closed
I’m trying to use Applescript to batch process a bunch of files through Photoshop for use on the Web. I’m using Applescript because Photoshop Actions can’t do certain things that Applescript does well.

I can currently save each file using the GIF class of the Save Formats Suite with a line such as "save docRef in file newFileName as CompuServe GIF with options…." but the problem is that creates a larger file size than if I manually do a "Save for web…" to create a GIF from Photoshop.

Saving a JPEG via Applescript/Photoshop also creates a much larger file than manually saving through "Save for web…" in Photoshop.

Illustrator has an Export Options Suite which has the same basic options as "Save for web…". Photoshop seems to be missing this Export Options Suite though.

Is there some way to use the Export Suite from Illustrator in Photoshop? Or maybe there’s some other scripting work around?

Thanks,
DAN

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

E
edjh
Aug 13, 2004
DAN wrote:
I’m trying to use Applescript to batch process a bunch of files through Photoshop for use on the Web. I’m using Applescript because Photoshop Actions can’t do certain things that Applescript does well.
I can currently save each file using the GIF class of the Save Formats Suite with a line such as "save docRef in file newFileName as CompuServe GIF with options…." but the problem is that creates a larger file size than if I manually do a "Save for web…" to create a GIF from Photoshop.
Saving a JPEG via Applescript/Photoshop also creates a much larger file than manually saving through "Save for web…" in Photoshop.
Illustrator has an Export Options Suite which has the same basic options as "Save for web…". Photoshop seems to be missing this Export Options Suite though.

Is there some way to use the Export Suite from Illustrator in Photoshop? Or maybe there’s some other scripting work around?

Thanks,
DAN
The reason the file size is large is that Save for Web strips out EXIF and thumbnail data which is left in when you use Save As. Of course you may be able to do the same thing with Applescript, but…

In the Save for Web dialog there is a little arrow in a circle to the right of Settings that will give you a menu that allows thew Export Options. They are also available in ImageReady.


Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
Comics art for sale:
http://www.sover.net/~hannigan/batsale.html

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections