Best graphics library lazarus / 39-Graphics ---------------------------------------------------------------------- Mando · 2011-03-17 09:47 Hi. I developing a simple image editor and I need to rotate, cut, change bright a contrast, etc.... And direct access to pixels, like delphi scanline to do my own functions. I need know what library is the best to do it. I try LazRGBGraphics and TBGRABitmap. There is any more? And Whet is the best? thanks ---------------------------------------------------------------------- Chronos · 2011-03-17 15:24 What is best depends on point of view. Huge libraries which tries to handle everything tend to be slow and complex because of generality. Small libraries are fast and easy to learn but can be used only for specific applications. Then what would be main aspects for comparison? Processing speedSupport for bitmap or vector graphicsSupport for file formatsSupport for multiple pixel color models and various bit depthAmount of various graphic drawing functionsPortability across platformsSize of development team and sustainability There are some "one man show" libraries and others with teams. There are some libraries ported from Delphi and others ported from C. LCL LazRGBGraphics http://wiki.freepascal.org/LazRGBGraphics BGRABitmap http://wiki.freepascal.org/BGRABitmap AggPas http://www.crossgl.com/aggpas/ fpVectorial http://wiki.freepascal.org/fpvectorial Andorra 2D http://andorra.sourceforge.net/ Graphics32 http://graphics32.org ... Which one is the best? Perhaps none. Graphics32 is pretty fast but not portable and don't have custom font rendering. If you want to create simple graphic editor you should have a look at http://wiki.freepascal.org/LazPaint which use BGRABitmap. LazRGBGraphics is used by http://wiki.freepascal.org/Lazarus_Image_Editor. You have to try for yourself and find out which one will serve best for your needs. ---------------------------------------------------------------------- Mando · 2011-03-17 17:44 Thanks for your reply. I'll try to do a test project. Regards ---------------------------------------------------------------------- BlueIcaro · 2011-03-17 19:27 Here you have another one Allegro /BlueIcaro ---------------------------------------------------------------------- circular · 2011-03-20 22:37 AggPas is very powerful. ---------------------------------------------------------------------- jixian.yang · 2011-03-21 02:45 rgbdrawutils.pas is simplest, it provides a scanline for a new bitmap and it is improving. https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus- ccr/applications/lazimageeditor ---------------------------------------------------------------------- Chronos · 2011-03-21 06:20 We can maintain list of known graphics libraries for quick comparison in wikipedia fashion here: http://wiki.freepascal.org/Graphics_libraries ---------------------------------------------------------------------- mdalacu · 2011-03-21 08:02 I am using Vampyre Imaging Library , it pretty fast and stable. http://imaginglib.sourceforge.net/ ---------------------------------------------------------------------- Mando · 2011-03-21 08:43 Hi! Thak you all for your information. I'll try to test all of them. I will keep you informed. regards. ---------------------------------------------------------------------- circular · 2011-03-21 15:34 Quote from: chronos on March 21, 2011, 07:20:22 amWe can maintain list of known graphics libraries for quick comparison in wikipedia fashion here: http://wiki.freepascal.org/Graphics_libraries Sure. I've added BGRABitmap infos.