Platforms to show: All Mac Windows Linux Cross-Platform

Back to MemoryBlock class.

MemoryBlock.ConvertRGB12BitTo8BitMBS(Width as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MemoryBlock MBS Util Plugin 14.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts a memoryblock with 12 bit RGB data into 8 bit RGB data.

Width is number of pixels.

Please make sure the memoryblock is 9 bytes bigger than input to avoid errors.
Plugin converts each 9 bytes (72 bits) with 2 RGB triple. So first 12 bits are red, next 12 bits green and last 12 bits blue.
Plugin removes last 4 bits.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...