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))
if (format1 ==
On Sun, May 22, 2011 at 10:26 AM, Daniel Hiepler
ri...@boogiepalace.hopto.org 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
On Sat, May 21, 2011 at 12:03 PM, Daniel Hiepler
ri...@boogiepalace.hopto.org wrote:
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);
3 matches
Mail list logo