Pixel edit slow lazarus / 39-Graphics ---------------------------------------------------------------------- xinyiman · 2019-12-27 15:05 Hi guys, I wrote a little test program to understand how to quickly manipulate the pixels of a bitmap. But I didn't understand what I'm wrong because it's very slow. I attach the example. ---------------------------------------------------------------------- winni · 2019-12-27 16:56 Hi! First recognize that you are dealing with 2 mio Pixels, that are 8 mio bytes! 20 years ago that would have taken minutes! And the second: TBitmap is know to be slow, but it works with all widget sets. If you want to speed up your graphics then read this:  https://wiki.lazarus.freepascal.org/Developing_with_Graphics And take time to read! Wi0nni ---------------------------------------------------------------------- xinyiman · 2019-12-28 17:54 Thanks Quote from: winni on December 27, 2019, 05:56:24 pmHi! First recognize that you are dealing with 2 mio Pixels, that are 8 mio bytes! 20 years ago that would have taken minutes! And the second: TBitmap is know to be slow, but it works with all widget sets. If you want to speed up your graphics then read this:  https://wiki.lazarus.freepascal.org/Developing_with_Graphics And take time to read! Wi0nni