• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Saving PICT's from Photoshop...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving PICT's from Photoshop...


  • Subject: Re: Saving PICT's from Photoshop...
  • From: Paul Skinner <email@hidden>
  • Date: Tue, 10 Jun 2003 10:37:32 -0400

this...
tell application "Adobe Photoshop 7.0"
set pictSave to {class:PICT file save options, compression:low quality
JPEG, embed color profile:false, resolution:thirty two, save alpha
channels:false}
save current document in file "titan:Users:paul:Desktop:test" as PICT
file with options pictSave appending no extension with replace
end tell

... saves a file identical to a manual save OMM. Perhaps you have alpha
channels you weren't ditching? The default setting for Alpha channels
isn't indicated in the dictionary. Just a guess really.

Paul

On Tuesday, June 10, 2003, at 09:26 AM, CS Carl Stawicki (4211) wrote:

> Hi,
>
> (FYI...I've posted this question in multiple places, so a lot of you
> may
> have seen it already, but I still haven't figured it out...)
>
> I'm working on an AS that will save a 240x240 pixel image as a PICT
> file.
> The final file size must not exceed 32k. I'm getting different file
> sizes
> when I save from Photoshop manually versus saving with my script. On a
> test
> file, saving manually from Photoshop as a PICT file gets me down to
> 20k, but
> when my script saves it with the same options, I get 184k (as if the
> compression options are being ignored). The save options are 32
> bits/pixel
> with Low JPEG compression, no embedded profile, and PS is set up to
> save
> without a preview.
>
> This is the script:
>
> tell app "Adobe Photoshop 7.0"
> set pictSave to {class:PICT file save options, compression:low
> quality
> JPEG, embed color profile:false, resolution:thirty two}
> save current document in file MySaveOptions as PICT file with options
> pictSave appending no extension with replace
> end tell
>
> 'MySaveOptions' is a destination folder and naming convention.
>
> MacOS 9.2.2
> Photoshop 7.0.1
>
> How can I get the script to save PICT's the same as saving manually?
> I'm
> obviously missing something ;o\ TIA.
>
> Carl.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Scripting Broadcaster
  • Next by Date: Re: Regarding Mail
  • Previous by thread: Saving PICT's from Photoshop...
  • Next by thread: Re: Saving PICT's from Photoshop...
  • Index(es):
    • Date
    • Thread