On Fri, Sep 10, 2010 at 11:55 PM, Rupert Weber <gimp@xxxxxxxxxxxxxx> wrote: > Something else I don't understand about models/formats: > > If babl automatically creates a double-format for every registered > model, how can there be models without a double-format? > Namely RaGaBaA, RGB, R'G'B', YaA, Y'A, and Y'? Looking at the code babl doesn't create a double-format, but when registering a color model conversions to/from a (perhaps synthesized) double format is provided to be able to regression test. > Also, why are there so many empty spots on the introspection? > E.g. Lab float/u8/u16: shouldn't babl find it's own way from double to > float? And type conversions to/from u8 and u16 are supplied by CIE.c. > (Actually, those are buggy in several ways, but fixing it doesn't help) Empty spots in what, if you are referring to http://gegl.org/babl/BablFishPath.html then the empty spots are the spots where babl is finding its own way, the single dots are where there are direct conversions and the bars of varying vertical height indicate how many steps a multi step conversion takes. The 8bit / 16bit data types for CIE lab are very different beasts from the 8bit types used for sRGB and will be used when those pixel formats are used. /Øyvind K. -- «The future is already here. It's just not very evenly distributed» -- William Gibson http://pippin.gimp.org/ ; http://ffii.org/ _______________________________________________ Gegl-developer mailing list Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer