TImageViewer or equivalent lazarus / 39-Graphics ---------------------------------------------------------------------- Dzandaa · 2022-04-26 14:28 Hi everybody, Working with Lazarus Pascal 2.012 FPC 2.3.0 on Windows, Linux and MacOS I am looking for a control or code for zoom and pan a BGRA image. An equivalent to Delphi TImageViewer. Thank you. ---------------------------------------------------------------------- AlexTP · 2022-04-26 14:58 Try this one https://wiki.freepascal.org/ATImageBox ---------------------------------------------------------------------- winni · 2022-04-26 15:09 Hi! For your needs there is the component BGRAImageManipulation In the tab BGRA Controls. Winni ---------------------------------------------------------------------- Dzandaa · 2022-04-27 14:17 Hi, BGRAImageManipulation is not really what I want, thank you anyway. I already tested ATImageBox, It's close to what I need, but I had some refreshing problems panning with the mouse when zoom is out (see attachment). I have a TBGRABitmap called Picture, and for the moment, I show it on a TImage without pan and zoom. ---------------------------------------------------------------------- winni · 2022-04-27 20:15 Hi! The BGRAbitmap has a lot of features like * zoom * rotate * GetPart So it's just some lines of code. Winni ---------------------------------------------------------------------- Dzandaa · 2022-04-28 08:23 Hi, I know BGRA has a lot of features and I've been using it for quite some time What I'm looking to find out is if there is already a tool that allows you to do Pan and Zoom without rewriting all the code. What most closely resembles what I'm looking for is ATImageBox.