LazIntFImage lazarus / 39-Graphics ---------------------------------------------------------------------- hvh · 2017-05-13 20:58 Making graphics faster I try to work with LazIntFImage. But I can'd give  the pixels each desired color I did it this way   t := b.CreateIntfImage; t.Color[Y,X] := colRed;  this works but how to get each desired color; With Bitmap I fill in yust a number; ---------------------------------------------------------------------- wp · 2017-05-13 22:09 I am not sure what your question is. But I think you are asking how to apply any TColor to LazIntfImage which only knows TFPColor? For this purpose, unit graphics provides the conversion function Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function TColorToFPColor(AColor: TColor): FPColor; ---------------------------------------------------------------------- hvh · 2017-05-20 19:56 Thanks! That is exactly the function I need.