• 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: SIPS Syntax to Embed a Profile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: SIPS Syntax to Embed a Profile
      • From: erik keller <email@hidden>
References: 
 >SIPS Syntax to Embed a Profile (From: Jon Rosen <email@hidden>)

  • Prev by Date: SIPS Syntax to Embed a Profile
  • Next by Date: Re: Simulate click on a button in a flash object
  • Previous by thread: SIPS Syntax to Embed a Profile
  • Next by thread: Re: SIPS Syntax to Embed a Profile
  • Index(es):
    • Date
    • Thread