Re: Saving PICT's from Photoshop...
Re: Saving PICT's from Photoshop...
- Subject: Re: Saving PICT's from Photoshop...
- From: Gary Lists <email@hidden>
- Date: Tue, 10 Jun 2003 12:45:39 -0400
On or about 6/10/03 9: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.
A much less work-intensive method is to use the built-in 'Record Action' in
PS. Set your output format, width, height, color-depth and all that in an
Action and then drag the 'Action Droplet' (a down-arrow icon) from the
Optimize window to anywhere on your desktop.
This makes a desktop droplet that will take any number of files or a folder
full of them and output them to wherever you have you set in your Action, or
wherever you choose when you run the droplet if you didn't 'hard wire' a
location.
Very flexible. Probably AppleScript at heart (although I don't know.)
--
Gary
MacOS 9.1 / "9 is Fine"
OMM: osa:AS 1.8.3 / osa:JS 1.0.3 / FM 55 / BB601 / Smile 188
______________________________________________________________
Please reply directly to the list.
Incoming messages are auto-deleted. (It's anti-spam, that's all.)
_______________________________________________
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.