fix image conversion for indigo