Does anyone have an example of how to effectively use the CountColorsMBS method of the picture class? How can the 1024 byte MemoryBlocks be quickly converted into 256 element integer arrays for displaying in graphs?
For reference: Picture.CountColorsMBS(byref red as memoryblock, byref blue as memoryblock, byref green as memoryblock, byref count as integer) I am trying to build a tool that will allow the user to set the white-point, mid-point (gamma) and black-points of a picture, for either all channels simultaneously (Intensity) or for R/G/B individually. Because this is cross-platform, I will likely have to brute force my way through the RGBSurface, offsetting and scaling each channel as needed unless anyone can suggest a more clever approach. Thanks. -bill k _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
