• 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: Wayne Melrose <email@hidden>
  • Date: Sun, 26 Aug 2007 20:10:18 +0200


On 26/08/2007, at 8:06 PM, Jeff Jungblut wrote:

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

Thanks for the tip! I did see that you could "Match" to a destination profile, but does that actually convert from say a CMYK image? 



 _______________________________________________
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: Jeff Jungblut <email@hidden>
References: 
 >Re: SIPS - convert color space.. (From: Jeff Jungblut <email@hidden>)

  • Prev by Date: Re: SIPS - convert color space..
  • 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