Add tests and proper support for videos in ConvertImageDtype
#6783
+155
−113
ConvertImageDtype
#6783