added mattobi converter for gray