Thanks for the helping hand everyone. While still interested and interesting the "problem" vanished. It had to do with converting a grayscale image from a thermal camera to a colorized version. How did the problem vanish? The camera had a color mode! cheers and thanks again, andy