improve interpretation of maplut output

a mono image though a colour lut needs to take the lut's interpretation
Merge remote-tracking branch 'origin/7.40'

Conflicts:
	ChangeLog