is there a way to convert an RGB image file to either:
a. a CIELab color space (PDF supports such a native color space, as does OpenExr), or
b. to a CIELab raw ASCII format?
can any one provide a sample one-liner that would demonstrate this usage?
the reason being i need to convert an RGB image file to CIELab and in my own investigations, this conversion is not at all trivial and involves the notion of ICC color spaces as well. ive got now probably hundreds of printed out pages with all of these algorithms. true its all interesting, and if one day i can do the math myself - certainly i'd feel good about that. but until that time, i was wondering if this ability was already 'built into' imagemagick.
thanks,
greg
desire CIELab space in imagemagick
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: desire CIELab space in imagemagick
I am not sure this is exactly what you want, but see -colorspace LAB at http://www.imagemagick.org/script/comma ... colorspace