Re: Embedding a ICC profile
Re: Embedding a ICC profile
- Subject: Re: Embedding a ICC profile
- From: Roger Howard <email@hidden>
- Date: Thu, 8 Jul 2004 10:31:34 -0700
On Jul 7, 2004, at 4:17 PM, email@hidden wrote:
>
Subject: Embedding a ICC profile
>
From: Matt Beals <email@hidden>
>
To: "email@hidden" <email@hidden>
>
>
I can't seem to get a folder script to embed a ICC profile. I've tried:
>
>
tell application "Image Events"
>
embed folder items with source profile "AdobeRGB1998.icc"
>
end tell
>
>
Ideally I want to be able to take a image (RGB or CMYK) and convert it
>
to my
>
press CMYK profile. But I'd be happy just to be able to tag images...
>
>
But it doesn't work. I'm not sure where I should go from here. Can
>
anyone
>
help please?
Here's a simple Folder Action for tagging ("embedding"):
(* Just change the value of this property to the proper name of your
desired profile *)
property ProfileName : "Adobe RGB (1998)"
on adding folder items to thisFolder after receiving theseFiles
repeat with thisFile in theseFiles
tell application "ColorSyncScripting" to embed thisFile with source
profile ProfileName
end repeat
end adding folder items to
----
Here's another I just whipped up for converting ("matching"):
property ProfileName : "Adobe RGB (1998)"
on adding folder items to thisFolder after receiving theseFiles
repeat with thisFile in theseFiles
tell application "ColorSyncScripting" to match thisFile to
destination profile ProfileName matching with perceptual intent
(* Your rendering intent options are "perceptual intent", "relative
colorimetric intent","saturation intent", and "absolute colorimetric
intent" typed without quotes *)
end repeat
end adding folder items to
----
Hope this helps.
-Roger
_______________________________________________
colorsync-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/colorsync-users
Do not post admin requests to the list. They will be ignored.