Merge "Check bit-depth before creating converters" into tm-dev