🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #2062

Is it possible to "save for web"?

#2062
From: SteveSu
Date: Mon, 21 Jun 2004 11:57
15 lines
1177 bytes
Hi!
Is it possible to use the "save for web"-option in ps scripting?

My code:

jpgSaveOptionsSmall = New Photoshop.JPEGSaveOptions
jpgSaveOptionsSmall.EmbedColorProfile = True
jpgSaveOptionsSmall.FormatOptions = Photoshop.PsFormatOptionsType.psStandardBaseline
jpgSaveOptionsSmall.Matte = Photoshop.PsMatteType.psNoMatte
jpgSaveOptionsSmall.Quality = settings.JpgQuality

docRef.SaveAs(newImage1Path + "\" + newImage1Name, Options:=jpgSaveOptionsSmall, AsCopy:=True, extensionType:=extType)

Best Regards
/ Steve
Technical Details
Message-ID: <3bb4b1de.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!peer1.news.newnet.co.uk!peer1.news.newnet.co.uk!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5839,10feb1009d31cf3e,start
X-Google-Attributes: gidf5839,public
From: SteveSu@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!peer1.news.newnet.co.uk!peer1.news.newnet.co.uk!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Is it possible to "save for web"?
Message-ID: <3bb4b1de.-1@webx.la2eafNXanI>
Date: Mon, 21 Jun 2004 04:57:13 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit