Function getTextureColorSpaceFromMap