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

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

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

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections