# Image sampler 16bit png support

**URL:** <https://discourse.mcneel.com/t/image-sampler-16bit-png-support/139529>\
**Category:** Grasshopper\
**Tags:** windows, image, imagesampler, 16bit\
**Created:** [March 16, 2022, 2:12pm UTC](https://discourse.mcneel.com/t/image-sampler-16bit-png-support/139529 "2022-03-16T14:12:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dchristev](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dchristev/32/534333_2.png) [@dchristev](https://discourse.mcneel.com/u/dchristev)\
**Post date:** [March 16, 2022, 2:12pm UTC](https://discourse.mcneel.com/t/image-sampler-16bit-png-support/139529/1 "2022-03-16T14:12:10Z")

</div>

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

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/2/a/a2a595f4d5b92e14c7f66798cd13b9bcbcfe4519.jpeg)
