Applescript/Photoshop/"Save for web..." Question

847 views1 repliesLast post: 8/13/2004
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
#1
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
#2