2009/6/4 Jeff Harmon <jhar...@colorhythm.com>:
> Hi friends; I hope everyone's doing well.  I'm writing because I'm trying
> to find a way to generate CIE-xy diagrams for profiles dynamically on the
> server-side in a web app I'm working on.  Can anyone point me in the right
> direction?  I'm running a Mac OS X Leopard server, so it would have to have
> a command line interface consonant with Unix.

The VIPS image processing library might be able to do it, if I
understand what you want.

It would be easy to generate a slice of Yxy colorspace, map it through
a profile with lcms, then black out out-of-gamut pixels. Something
like:

http://www.vips.ecs.soton.ac.uk/development/adobe98-gamut.jpg

(actually that's a slice through cielab showing in-gamut pixels for
adobe98 at L=50, but it'd be easy to do Yxy instead ... I guess you'd
want some axies as well)

You can implement as a set of command-line calls or write a tiny Python script.

John

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to