First of all, congrats. This function is really nice.
I think it's working only with JPEG and PNG 24 bits images. PNG 8 bits images are returning wrong values.
Hi Luiz, can you please send me the images that don't work?
Please note that we updated both Creo 2.0.6 and the RGB example on the blog (you can download it from: https://github.com/creoapp/examples/raw/master/RGBBuffer.zip )