Re: SIPS Syntax to Embed a Profile
Re: SIPS Syntax to Embed a Profile
- Subject: Re: SIPS Syntax to Embed a Profile
- From: Stan Cleveland <email@hidden>
- Date: Tue, 28 Jul 2009 23:05:37 -0700
- Thread-topic: SIPS Syntax to Embed a Profile
On 7/28/09 9:44 PM, "Jon Rosen" wrote:
> I'm trying to use SIPS (from within an AppleScript) to embed a profile
> into a JPEG. The pertinent line looks like this:
>
> do shell script "sips -e AdobeRGB1998.icc " & posixInput & " --out " &
> posixOutput
>
> I've also tried it using a full path to the profile. Neither seems to
> work. Does anyone know the correct syntax to use?
Jon, this works OMM (10.5.7, Intel):
set posixProfile to quoted form of "/Library/Application
Support/Adobe/Color/Profiles/Recommended/AdobeRGB1998.icc"
set posixInput to "/Users/stanc/Desktop/Source.jpg"
set posixOutput to "/Users/stanc/Desktop/Target.jpg"
do shell script "sips -e " & posixProfile & " " & posixInput & " --out " &
posixOutput
I got the same result that you did until I used the quoted form of the full
path to the profile. Give that a try.
Stan C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden