babl: format comparison

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

 



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))
{ ... } else { ... }


Also I would need to get the current source- and destination-format of
a fish.

Is that possible?



thanks in advance
-- 
rigid

I have hardly ever known a mathematician who was capable of reasoning.
		-- Plato

PGP-Key available on subkeys.pgp.net


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


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux