• 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 - convert color space..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIPS - convert color space..


  • Subject: Re: SIPS - convert color space..
  • From: Jeff Jungblut <email@hidden>
  • Date: Sun, 26 Aug 2007 11:06:56 -0700
  • Thread-topic: SIPS - convert color space..

Title: Re: SIPS - convert color space..
on 8/26/07 9:47 AM, Wayne Melrose at email@hidden wrote:

> Thanks Gary... I think..? .. and I guess what I didn't make clear is  I'm
> wondering if I overlooked something in the SIPS man page that  might help me
> convert the color space of an image from anything to RGB.
>
> So if you know of another tree I could bark at, that would be great..  Just to
> clarify again. convert any image (tif, png, jpg etc ) to RGB  color space,
> preferably jpg format. PREFERABLY not involving third  party anything..
>

You use the “match … to destination profile …” in Image Events.  Here's a snippet that will convert an image to RGB.

-- origFilePath and rgbFilePath are set elsewhere in the script
tell application "Image Events"
    launch
   set oFile to open origFilePath
   match oFile to destination profile "Generic RGB Profile"
    unembed oFile
   save oFile as JPEG in rgbFilePath
   close oFile
end tell

--
Jeff Jungblut
email@hidden
Senior Graphic Designer & Web Developer
Uptown Publications
 _______________________________________________
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 - convert color space..
      • From: Wayne Melrose <email@hidden>
References: 
 >Re: SIPS - convert color space.. (From: Wayne Melrose <email@hidden>)

  • Prev by Date: Re: palette creation...
  • Next by Date: Re: SIPS - convert color space..
  • Previous by thread: Re: SIPS - convert color space..
  • Next by thread: Re: SIPS - convert color space..
  • Index(es):
    • Date
    • Thread