When I use the “Save for web” option from within Photoshop CS2 and I select the gif option I can get a pretty nice looking .gif file. I’m now trying to do the same thing via an Applescript and I get different results. The image doesn’t look nearly as nice. Here is the code I’m using for the export…
set newDoc to duplicate docRef
set ruler units of settings to pixel units
resize image newDoc width 200 resolution 72
set myoptions to {class:save for web export options, color reduction:adaptive, dither:none, lossy:0, transparency:false, transparency dither:none, colors in palette:64} & my compileAsOption("CompuServe GIF")
export newDoc in file (ouputPath & aFilesName & "_lg.gif" as string) as save for web with options myoptions
close newDoc saving no
If I try and do an export as web via an action, the results look much better.
Any thoughts?
Dave