Returns 0 if not supported. If supported the return value indicates a priority value. If multiple factories are registered that claim support for the format the one with the highest priority is chosen.