Fastest universal graphics access to pixel lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2020-03-23 15:14 Work with standard Canvas routines is very slow. Work with RawImage data is fast but it is not universal. Linux works with graphics in RawImage with 32 bits in data but Windows works with 24 or 16 bits. I search for fast but universal access to graphics. For example, does exist option to set one 24 bit pallette, filling image data and fast copy to Form? ---------------------------------------------------------------------- lainz · 2020-03-23 15:23 Use BGRABitmap https://wiki.freepascal.org/BGRABitmap https://github.com/bgrabitmap ---------------------------------------------------------------------- marcov · 2020-03-23 15:36 Or write your code using rawdata like objects using generics and then instantiate for your pixel type. ---------------------------------------------------------------------- Milsa · 2020-03-23 16:58 Have you a tip for fast pixel demo from BGRABitmap library. There are a lot of example projects in this library. ---------------------------------------------------------------------- winni · 2020-03-23 17:28 Hi! Fast bitmap pixel access with BGRA is chaper 4 in the tutorial: https://wiki.freepascal.org/BGRABitmap_tutorial_4 Winni ---------------------------------------------------------------------- Milsa · 2020-03-23 20:54 Thanks. I will look at it. ---------------------------------------------------------------------- avra · 2020-03-24 07:51 Quote from: Milsa on March 23, 2020, 04:14:47 pmI search for fast but universal access to graphics.You can take a look at pl_graphics32 package in OPM.