16 bit images yet?

There are several posts on the forum about using / importing 16-bit images. It seems that the majority of the posts state that Rhino / Grasshopper can only use 8-bit images. However, many of these posts are years old.

I would like to import an image file within Grasshopper, query it, then make a heightfield mesh out of the image. However, 8-bit images (of any type: jpg, png, bmp) show too much stepping and will not produce the quality I need in the final mesh. I’d have to go to another software.

Can Grasshopper, or any of its plugins, use a 16- or 32-bit image yet?

I haven’t seen an RGB value with (65536,65536,65536) so I guess 16-bit images are not supported in Grasshopper. I tried (Native GH components + Bitmap + enhanced image sampler)

Heightfield was able to read a 16 bit per channel image, but I couldn’t verify if it is actually working as 16 bpc.

hi tay, i’m working with 3d prints of mountains and indeed stepping is an issue. i now have to convert my elevation data into a couple of different maps (mapping it in Qgis with a scale function) which can be “heightfielded” and stacked upon each other, thus avoiding the stepping. Did you have any succes with using a 16 bit map in heightfield? Just asking, i’m going to try this for myself as well

1 Like

Here’s some info:

so far, no idea about this possibility, potentially you can interpolate the numbers from the high field to get rid of the stepping effect but it will lead to a reduced accuracy.

still working on it. i think i will have to use GDAL transformations to map the 16 bit dem to several 8 bit maps that represent various elevation ranges that can be stacked on top of each other. ok, i’’ have to learn how to work with the command line in gdal and hope for the best

1 Like