Add isComplex() to DataType
Make new image ramp fills more performant

The code is less general now.