On Mon, Sep 20, 2010 at 12:49 AM, Rupert Weber <g...@leguanease.org> wrote:
> More questions...
>
> 1. C standard
> The docs state "ANSI C" as a feature. Is that actually meant in the
> strict sense of C89, not C99? Does that hold for (babl-)extensions as
> well? I'm specifically thinking about inline and inttypes.h.

GIMP tends to claim C89 compatibility; we shouldnt assume more modern
language standard than GIMP does.

> 2. Clipping
> CIE.c currently clips RGB results to 0.0-1.0, i.e. sRGB. This leads to
> any inter-CIE conversion which is routed through RGBA-double to be
> clipped to sRGB. Is that by design or a bug?

To support HDR/wide gamut workflows as well as possible, I think no
clipping should occur in babl, apart from when it is unavoidable; like
it is when converting to 8bit fixed-point.

/Øyvind K.
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Reply via email to