Creating an Image lazarus / 39-Graphics ---------------------------------------------------------------------- GruntGulp · 2010-01-20 14:52 Hello Everybody, I'm writing some code to display a computed image (I need to show the result of a simulation). I didn't find the reference documentation for the object then I decided to ask! I computed the Pixels values and saved them in a square (size of the image) array of integer. I created a TImage control on a form. I'm not able to find the way to set the pixels in order to display a color I will made equivalent to the value found in the array. i populated the pixels property of the bitmap canvas but nothing happens may you help? Thanks Roberto ---------------------------------------------------------------------- theo · 2010-01-20 14:59 Quote from: GruntGulp on January 20, 2010, 03:52:45 pmi populated the pixels property of the bitmap canvas but nothing happens Did you set Bitmap Width/Height before that? ---------------------------------------------------------------------- GruntGulp · 2010-01-20 15:09 Thank you!  This way it works. I'm a first time user of lazarus. Do you know wheres the reference docs of the TImage (and related) object? thank you again! ---------------------------------------------------------------------- Troodon · 2010-01-20 15:31 http://delphi.about.com/library/bluc/text/uc052102a.htm ---------------------------------------------------------------------- GruntGulp · 2010-01-21 15:39 Thank You!