Re: [Gimp-developer] Babl CMYK-conversions



On Fri, Dec 23, 2011 at 10:26 AM, Alexander Hämmerle
<Alexander Haemmerle gmx de> wrote:
> there seem to be some quirks in babl.
>
> 1) ./babl/base/model-cmyk.c
>
> In the cmyk_to_rgb-function the components are assigned from the source in an
> erroneous order. Obviously in the CMYK-colorspace magenta is the second color.
> Here yellow takes its place and magenta is the third one.
>
> double cyan    = ((double *) src)[0];
> double yellow  = ((double *) src)[1];
> double magenta = ((double *) src)[2];
> double key     = ((double *) src)[3];

For subscribers of gimp-developer, please see this post to
gegl-developer for a response:

https://mail.gnome.org/archives/gegl-developer-list/2011-December/msg00001.html

-- 
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/ ;                           http://ffii.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]