Re: applescript and colorsync (solved)
Re: applescript and colorsync (solved)
- Subject: Re: applescript and colorsync (solved)
- From: Paul Wagland <email@hidden>
- Date: Thu, 08 Jan 2004 10:37:42 +0100
On Thu, 2004-01-08 at 01:45, John Gnaegy wrote:
>
> First, since the image already has an embedded ICC profile when using
>
> that applet you should not select the camera's profile as the source
>
> profile
>
>
Right. After running an image through "Match to chosen profile" the
>
image will be in the destination space, say Generic RGB, with the
>
Generic RGB profile embedded. At that point, assuming the camera
>
profile is accurate, it should be reasonable when viewed onscreen.
No, the problem is that BEFORE you run it through the profile you have
to select "Generic RGB Profile" as the source profile, BUT only if the
file already has the ICC profile embedded.
It appears that what happens is that ColorSyncScripting reads in the
file (possibly with quicktime?) which does the colorspace transformation
into RGB. At this point, unless you specify "Generic RGB Profile" as the
source profile, it looks at the file, sees that it has an embedded ICC,
"converts" it again (so it is now double converted) and then converts it
into the output colour space.
That is why all of my initial attempts were failing, because I was
incorrectly telling ColorSyncScripting to convert the color space, when
in actual fact I wanted to tell it to _not_ convert the colorspace. This
is what I really don't understand.
I.e. why do these commands work:
match rgbFile from source rgbProf to destination rgbProf
unembed rgbFile
_BUT_ these don't (they both do the same double conversion):
match rgbFile to destination rgbProf
unembed rgbFile
_or_
match from source minoltaProf rgbFile to destination rgbProf
unembed rgbFile
The original file is _not_ in the rgbProfile. The original file is in
the Minolta color space, with an embedded profile. Strangely enough, if
I remove that embedded profile (i.e. use the original picture) then this
does work:
match rgbFile from source minoltaProf to destination rgbProf
unembed rgbFile
I now know what happens... I just don't understand why.
Cheers,
Paul
--
Paul Wagland <email@hidden>
All Media Banking BV
Tel: +31 (23) 7503 715
Fax: +31 (23) 7503 799
_______________________________________________
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.