For now, re-return the original passed in format, this will as
a starter not crash - while the color management is non-functional;
the special casing will be made more elaborate with space support
in babl-palette.
if (BABL_IS_BABL (example_format))
{
+ if (babl_format_is_palette (example_format))
+ {
+ /* XXX we should allocate a new palette name, and
+ duplicate the path data, converted for new space
+ */
+ return example_format;
+ }
encoding = babl_get_name (example_format);
if (babl_format_get_space (example_format) != babl_space ("sRGB"))
{