Image sampler 16bit png support

I’m trying to read values from a heightfield file, but I’m getting terracing/mesas when I try to read the file in the image sampler. Is there an easy way to read raw pixel data in grasshopper?

Cheers