Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Newbie question: Colormatching function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: Colormatching function



> I'm currently building some small apps with applescript studio, simply
> because C and/or C++ are more or less complete hocus pocus to me.
> With Applescript I can do a lot of great ColorSync stuff and I even
> managed to link GretagMacbeth's EyeOne SDK to Applescript via call
> methods. So, at this moment I can do most of my 'programming' with
> Applescript (Studio), but I like to add a ColorSync function which is
> not available when using ColorSync Scripting.
>
> Colorsync scripting can only do matching functions on images, not on
> real color numbers (RGB, CMYK, etc).
>
> My specific quest (and it's a big one due to my lack of programming
> knowledge) is to add a Colorsync function which 'simply' transforms a
> given color (eg. CMYK {100,0,0,0}) to it's CIE-Lab coordinate using
> Absolute Colorimetric rendering and of course a CMYK source profile.
>
> At first I started to buy all kinds of books on C/C++ programming,
> search and read all kinds of stuff on the web and of course did not
> succeed with this.
>
> Is there anyone who has some sample code which can do this
> colormatching function to help me on the way?
>
> thanks in Advance,
>
> Erik Koldenhof

Funny you mention the same limitation I encountered. There is no way to
'call' the ColorSync manager for a single pixel? I'd wish Apple would put
this in. Otherwise, like you say, one has to program in C or Objective-C and
become familiar with the API calling convention, how to pass arguments,
declare them, allocate memory for them, dump them, etc. There must be a
better way you'd say?

Thank's Graeme for the link to icclu. I didn't know you had it in an OSX
compiled version, that will get me going!

Regards,

Roger Breton
Laval, Canada
email@hidden
_______________________________________________
colorsync-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/colorsync-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.