Re: [Gegl-developer] babl: format comparison

2011-05-22 Thread Daniel Hiepler
Vom: Sat, 21 May 2011 22:37:41 + Hi, > > what would be the best-practice to check if two BablFormats are the > > same? I would need something like: > > > > Babl *format1 = babl_format("R'G'B' u8"); > > Babl *format2 = babl_format("CIE Lab float"); > > > > if(is_same_format(format1, format2))

Re: [Gegl-developer] babl: format comparison

2011-05-22 Thread Øyvind Kolås
On Sun, May 22, 2011 at 10:26 AM, Daniel Hiepler wrote: > Vom: Sat, 21 May 2011 22:37:41 + > if(babl_format_get_type(format) == babl_type("u8")) > { >        /* u8 type */ > } > else > { >        /* no u8 type */ > } Yes, all Babl objects are effectively singletons - and the same internal obj

[Gegl-developer] hayalok thinks you should join SoSasta!

2011-05-22 Thread hayalok
       A personal message from hayalok: Hey, have you checked out SoSasta? They give you discounts of up to 99% on your fa